Package org.exolab.castor.xml
Class MarshalException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.exolab.castor.core.exceptions.CastorException
org.exolab.castor.xml.XMLException
org.exolab.castor.xml.MarshalException
- All Implemented Interfaces:
Serializable
An exception that is used to signal marshalling exceptions.
- Version:
- $Revision: 8870 $ $Date: 2005-12-13 14:58:48 -0700 (Tue, 13 Dec 2005) $
- Author:
- Keith Visco
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCreates a newMarshalException
with no message or nested exception.MarshalException
(String message) Creates a newMarshalException
with the given message.MarshalException
(String message, int errorCode) Deprecated.MarshalException
(String message, Throwable exception) Creates a newMarshalException
with the given message and nested exception.MarshalException
(String message, Throwable exception, int errorCode) Deprecated.MarshalException
(Throwable exception) Creates a newMarshalException
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
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Field Details
-
BASE_CLASS_OR_VOID_ERR
- See Also:
-
NON_SERIALIZABLE_ERR
- See Also:
-
-
Constructor Details
-
MarshalException
public MarshalException()Creates a newMarshalException
with no message or nested exception. -
MarshalException
Creates a newMarshalException
with the given message.- Parameters:
message
- the message for this exception
-
MarshalException
Deprecated.Creates a newMarshalException
with the given message and an error code.- Parameters:
message
- the message for this exceptionerrorCode
- the error code for this exception
-
MarshalException
Creates a newMarshalException
with the given nested exception.- Parameters:
exception
- the nested exception
-
MarshalException
Creates a newMarshalException
with the given message and nested exception.- Parameters:
message
- the detail message for this exceptionexception
- the nested exception
-
MarshalException
Deprecated.Creates a newMarshalException
with the given message, nested exception, and error code.- Parameters:
message
- the detail message for this exceptionexception
- the nested exceptionerrorCode
- the error code for this Exception
-