public class SerializationException
extends java.lang.RuntimeException
Constructor and Description |
---|
SerializationException() |
SerializationException(java.lang.String message) |
SerializationException(java.lang.String message,
java.lang.Throwable cause) |
SerializationException(java.lang.Throwable cause) |
Modifier and Type | Method and Description |
---|---|
void |
addTrace(java.lang.String info)
Adds information to the exception message about where in the the object graph serialization failure occurred.
|
boolean |
causedBy(java.lang.Class type)
Returns true if any of the exceptions that caused this exception are of the specified type.
|
java.lang.String |
getMessage() |
public SerializationException()
public SerializationException(java.lang.String message, java.lang.Throwable cause)
public SerializationException(java.lang.String message)
public SerializationException(java.lang.Throwable cause)
public boolean causedBy(java.lang.Class type)
public java.lang.String getMessage()
getMessage
in class java.lang.Throwable
public void addTrace(java.lang.String info)
SerializationException
, add trace information, and rethrow the exception.