java.lang.Object
java.lang.Throwable
java.lang.Exception
org.refcodes.exception.AbstractException
org.refcodes.exception.MarshalException
- All Implemented Interfaces:
Serializable
,ErrorCodeAccessor
,Trap
Thrown when marshaling / serializing an object fails.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.refcodes.exception.ErrorCodeAccessor
ErrorCodeAccessor.ErrorCodeBuilder<B extends ErrorCodeAccessor.ErrorCodeBuilder<B>>, ErrorCodeAccessor.ErrorCodeMutator, ErrorCodeAccessor.ErrorCodeProperty
-
Constructor Summary
ConstructorDescriptionMarshalException
(String aMessage) Instantiates a new marshal exception.MarshalException
(String aMessage, String aErrorCode) Instantiates a new marshal exception.MarshalException
(String aMessage, Throwable aCause) Instantiates a new marshal exception.MarshalException
(String aMessage, Throwable aCause, String aErrorCode) Instantiates a new marshal exception.MarshalException
(Throwable aCause) Instantiates a new marshal exception.MarshalException
(Throwable aCause, String aErrorCode) Instantiates a new marshal exception. -
Method Summary
Methods inherited from class org.refcodes.exception.AbstractException
getErrorCode
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
MarshalException
Instantiates a new marshal exception.- Parameters:
aMessage
- The aMessage describing this exception.
-
MarshalException
Instantiates a new marshal exception. -
MarshalException
Instantiates a new marshal exception. -
MarshalException
Instantiates a new marshal exception.- Parameters:
aMessage
- The aMessage describing this exception.aErrorCode
- The error code identifying this exception.
-
MarshalException
Instantiates a new marshal exception. -
MarshalException
Instantiates a new marshal exception.
-