Class SerializationException

  • All Implemented Interfaces:
    java.io.Serializable

    public final class SerializationException
    extends java.lang.RuntimeException
    Exception indicating an error during serialization or deserialization.
    See Also:
    Serialized Form
    • Method Summary

      • 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

      • SerializationException

        public SerializationException​(java.lang.String message)
        New instance.
        Parameters:
        message - for the exception.
      • SerializationException

        public SerializationException​(java.lang.String message,
                                      java.lang.Throwable cause)
        New instance.
        Parameters:
        message - for the exception.
        cause - for this exception.
      • SerializationException

        public SerializationException​(java.lang.Throwable cause)
        New instance.
        Parameters:
        cause - for this exception.
      • SerializationException

        public SerializationException​(java.lang.String message,
                                      java.lang.Throwable cause,
                                      boolean enableSuppression,
                                      boolean writableStackTrace)
        New instance.
        Parameters:
        message - for the exception.
        cause - for this exception.
        enableSuppression - whether or not suppression is enabled or disabled.
        writableStackTrace - whether or not the stack trace should be writable.