Package arc.util.serialization
Class SerializationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
arc.util.serialization.SerializationException
- All Implemented Interfaces:
Serializable
Indicates an error during serialization due to misconfiguration or during deserialization due to invalid input data.
- See Also:
-
Constructor Summary
ConstructorDescriptionSerializationException
(String message) SerializationException
(String message, Throwable cause) SerializationException
(Throwable cause) -
Method Summary
Modifier and TypeMethodDescriptionvoid
Adds information to the exception message about where in the the object graph serialization failure occurred.boolean
Returns true if any of the exceptions that caused this exception are of the specified type.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
SerializationException
public SerializationException() -
SerializationException
-
SerializationException
-
SerializationException
-
-
Method Details
-
causedBy
Returns true if any of the exceptions that caused this exception are of the specified type. -
getMessage
- Overrides:
getMessage
in classThrowable
-
addTrace
Adds information to the exception message about where in the the object graph serialization failure occurred. Serializers can catchSerializationException
, add trace information, and rethrow the exception.
-