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: 5951 $ $Date: 2005-12-13 14:58:48 -0700 (Tue, 13 Dec 2005) $
- Author:
- Keith Visco
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCreates 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) Creates a new MarshalException with the given message.MarshalException
(String message, Throwable exception) Creates a new MarshalException with the given message and nested exception.MarshalException
(String message, Throwable exception, int errorCode) Creates a new MarshalException with the given message, nested exception, and errorCode.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 org.exolab.castor.core.exceptions.CastorException
getCause, getMessage, initCause, printStackTrace, printStackTrace, printStackTrace
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getLocalizedMessage, getStackTrace, getSuppressed, setStackTrace
-
Field Details
-
BASE_CLASS_OR_VOID_ERR
- See Also:
-
NON_SERIALIZABLE_ERR
- See Also:
-
-
Constructor Details
-
MarshalException
public MarshalException()Creates a new MarshalException with no message or nested Exception. -
MarshalException
Creates a new MarshalException with the given message.- Parameters:
message
- the message for this Exception
-
MarshalException
Creates a new MarshalException with the given message.- Parameters:
message
- the message for this ExceptionerrorCode
- the errorCode for this Exception
-
MarshalException
Creates a new MarshalException with the given nested exception.- Parameters:
exception
- the nested exception
-
MarshalException
Creates a new MarshalException with the given message and nested exception.- Parameters:
message
- the detail message for this exceptionexception
- the nested exception
-
MarshalException
Creates a new MarshalException with the given message, nested exception, and errorCode.- Parameters:
message
- the detail message for this exceptionexception
- the nested exceptionerrorCode
- the errorCode for this Exception
-