Class KryoException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.esotericsoftware.kryo.KryoException
- All Implemented Interfaces:
Serializable
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionKryoException(String message) KryoException(String message, Throwable cause) KryoException(Throwable cause) -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds information to the exception message about where in the the object graph serialization failure occurred.Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
trace
-
-
Constructor Details
-
KryoException
public KryoException() -
KryoException
-
KryoException
-
KryoException
-
-
Method Details
-
getMessage
- Overrides:
getMessagein classThrowable
-
addTrace
Adds information to the exception message about where in the the object graph serialization failure occurred.Serializerscan catchKryoException, add trace information, and rethrow the exception.
-