Package org.axonframework.serialization
Class SerializationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.axonframework.common.AxonException
org.axonframework.common.AxonNonTransientException
org.axonframework.serialization.SerializationException
- All Implemented Interfaces:
Serializable
Indicates that an exception occurred while serializing or deserializing an object.
- Since:
- 0.6
- Author:
- Allard Buijze
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionSerializationException(String message) Initializes the exception using the givenmessage.SerializationException(String message, Throwable cause) Initializes the exception using the givenmessageandcause. -
Method Summary
Methods inherited from class org.axonframework.common.AxonNonTransientException
isCauseOfMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
SerializationException
Initializes the exception using the givenmessage.- Parameters:
message- The message describing the exception
-
SerializationException
Initializes the exception using the givenmessageandcause.- Parameters:
message- The message describing the exceptioncause- The underlying cause of the exception
-