Class KryoException

All Implemented Interfaces:
Serializable

public class KryoException extends RuntimeException
General Kryo RuntimeException.
See Also:
  • Field Details

  • Constructor Details

    • KryoException

      public KryoException()
    • KryoException

      public KryoException(String message, Throwable cause)
    • KryoException

      public KryoException(String message)
    • KryoException

      public KryoException(Throwable cause)
  • Method Details

    • getMessage

      public String getMessage()
      Overrides:
      getMessage in class Throwable
    • addTrace

      public void addTrace(String info)
      Adds information to the exception message about where in the the object graph serialization failure occurred. Serializers can catch KryoException, add trace information, and rethrow the exception.