|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
org.exolab.castor.core.exceptions.CastorException
org.exolab.castor.xml.XMLException
org.exolab.castor.xml.MarshalException
public class MarshalException
An exception that is used to signal marshalling exceptions.
| Field Summary | |
|---|---|
static String |
BASE_CLASS_OR_VOID_ERR
|
static String |
NON_SERIALIZABLE_ERR
|
| Constructor Summary | |
|---|---|
MarshalException()
Creates a new MarshalException with no message
or nested exception. |
|
MarshalException(String message)
Creates a new MarshalException with the given message. |
|
MarshalException(String message,
int errorCode)
Deprecated. |
|
MarshalException(String message,
Throwable exception)
Creates a new MarshalException with the given message
and nested exception. |
|
MarshalException(String message,
Throwable exception,
int errorCode)
Deprecated. |
|
MarshalException(Throwable exception)
Creates a new MarshalException with the given nested
exception. |
|
| Method Summary |
|---|
| Methods inherited from class org.exolab.castor.xml.XMLException |
|---|
getErrorCode, setErrorCode, setLocation, toString |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String BASE_CLASS_OR_VOID_ERR
public static final String NON_SERIALIZABLE_ERR
| Constructor Detail |
|---|
public MarshalException()
MarshalException with no message
or nested exception.
public MarshalException(String message)
MarshalException with the given message.
message - the message for this exception
public MarshalException(String message,
int errorCode)
MarshalException with the given message and an error code.
message - the message for this exceptionerrorCode - the error code for this exceptionpublic MarshalException(Throwable exception)
MarshalException with the given nested
exception.
exception - the nested exception
public MarshalException(String message,
Throwable exception)
MarshalException with the given message
and nested exception.
message - the detail message for this exceptionexception - the nested exception
public MarshalException(String message,
Throwable exception,
int errorCode)
MarshalException with the given message,
nested exception, and error code.
message - the detail message for this exceptionexception - the nested exceptionerrorCode - the error code for this Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||