public class KryoException
extends java.lang.RuntimeException
| Constructor and Description | 
|---|
KryoException()  | 
KryoException(java.lang.String message)  | 
KryoException(java.lang.String message,
             java.lang.Throwable cause)  | 
KryoException(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. 
 | 
java.lang.String | 
getMessage()  | 
public KryoException()
public KryoException(java.lang.String message,
             java.lang.Throwable cause)
public KryoException(java.lang.String message)
public KryoException(java.lang.Throwable cause)
public java.lang.String getMessage()
getMessage in class java.lang.Throwablepublic void addTrace(java.lang.String info)
Serializers can catch KryoException, add trace information, and rethrow the exception.