Class ThrowableNotSerializableException

  • All Implemented Interfaces:
    java.io.Serializable

    public final class ThrowableNotSerializableException
    extends java.lang.IllegalArgumentException
    Use as replacement for an original exception when it can't be serialized or deserialized. param: originalMessage the message of the original exception param: originalClassName the class name of the original exception param: cause exception that caused deserialization error, optional and will not be serialized
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String originalClassName()  
      java.lang.String originalMessage()  
      • 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

      • ThrowableNotSerializableException

        public ThrowableNotSerializableException​(java.lang.String originalMessage,
                                                 java.lang.String originalClassName,
                                                 java.lang.Throwable cause)
      • ThrowableNotSerializableException

        public ThrowableNotSerializableException​(java.lang.String originalMessage,
                                                 java.lang.String originalClassName)
    • Method Detail

      • originalClassName

        public java.lang.String originalClassName()
      • originalMessage

        public java.lang.String originalMessage()