Package org.refcodes.exception
Class MarshalException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.refcodes.exception.AbstractException
-
- org.refcodes.exception.MarshalException
-
- All Implemented Interfaces:
java.io.Serializable
,ErrorCodeAccessor
,Trap
public class MarshalException extends AbstractException
Thrown when marshaling / serializing an object fails.- See Also:
- Serialized Form
-
-
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
Constructors Constructor Description MarshalException(java.lang.String aMessage)
Instantiates a new marshal exception.MarshalException(java.lang.String aMessage, java.lang.String aErrorCode)
Instantiates a new marshal exception.MarshalException(java.lang.String message, java.lang.Throwable cause)
Instantiates a new marshal exception.MarshalException(java.lang.String aMessage, java.lang.Throwable aCause, java.lang.String aErrorCode)
Instantiates a new marshal exception.MarshalException(java.lang.Throwable cause)
Instantiates a new marshal exception.MarshalException(java.lang.Throwable aCause, java.lang.String aErrorCode)
Instantiates a new marshal exception.
-
Method Summary
-
Methods inherited from class org.refcodes.exception.AbstractException
getErrorCode
-
-
-
-
Constructor Detail
-
MarshalException
public MarshalException(java.lang.String aMessage)
Instantiates a new marshal exception.- Parameters:
aMessage
- the message
-
MarshalException
public MarshalException(java.lang.String message, java.lang.Throwable cause)
Instantiates a new marshal exception.- Parameters:
message
- the messagecause
- the cause
-
MarshalException
public MarshalException(java.lang.Throwable cause)
Instantiates a new marshal exception.- Parameters:
cause
- the cause
-
MarshalException
public MarshalException(java.lang.String aMessage, java.lang.String aErrorCode)
Instantiates a new marshal exception.- Parameters:
aMessage
- the messageaErrorCode
- the error code
-
MarshalException
public MarshalException(java.lang.String aMessage, java.lang.Throwable aCause, java.lang.String aErrorCode)
Instantiates a new marshal exception.- Parameters:
aMessage
- the messageaCause
- the causeaErrorCode
- the error code
-
MarshalException
public MarshalException(java.lang.Throwable aCause, java.lang.String aErrorCode)
Instantiates a new marshal exception.- Parameters:
aCause
- the causeaErrorCode
- the error code
-
-