Class DeserializationException

  • All Implemented Interfaces:
    java.io.Serializable

    public class DeserializationException
    extends java.lang.Exception
    See Also:
    Serialized Form
    • Method Summary

      Modifier and Type Method Description
      java.util.Optional<java.lang.String> getKey()  
      Reason getReason()  
      void setKey​(java.util.Optional<java.lang.String> key)  
      void setReason​(Reason reason)  
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • DeserializationException

        public DeserializationException​(java.lang.String message,
                                        Reason reason,
                                        java.lang.Throwable cause)
      • DeserializationException

        public DeserializationException​(java.lang.String message,
                                        java.lang.String key,
                                        Reason reason,
                                        java.lang.Throwable cause)
    • Method Detail

      • getKey

        public java.util.Optional<java.lang.String> getKey()
      • setKey

        public void setKey​(java.util.Optional<java.lang.String> key)
      • getReason

        public Reason getReason()
      • setReason

        public void setReason​(Reason reason)