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