Package com.esotericsoftware.kryo
Class KryoException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.esotericsoftware.kryo.KryoException
- All Implemented Interfaces:
Serializable
General Kryo RuntimeException.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionKryoException
(String message) KryoException
(String message, Throwable cause) KryoException
(Throwable cause) -
Method Summary
Modifier and TypeMethodDescriptionvoid
Adds information to the exception message about where in the the object graph serialization failure occurred.Methods inherited from class java.lang.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:
getMessage
in classThrowable
-
addTrace
Adds information to the exception message about where in the the object graph serialization failure occurred.Serializers
can catchKryoException
, add trace information, and rethrow the exception.
-