Class SerializationException

  • All Implemented Interfaces:
    java.io.Serializable, Nestable

    public class SerializationException
    extends NestableRuntimeException

    Exception thrown when the Serialization process fails.

    The original error is wrapped within this one.

    Since:
    1.0
    Version:
    $Id: SerializationException.java 905636 2010-02-02 14:03:32Z niallp $
    See Also:
    Serialized Form
    • Field Detail

      • serialVersionUID

        private static final long serialVersionUID
        Required for serialization support.
        See Also:
        Serializable, Constant Field Values
    • Constructor Detail

      • SerializationException

        public SerializationException()

        Constructs a new SerializationException without specified detail message.

      • SerializationException

        public SerializationException​(java.lang.String msg)

        Constructs a new SerializationException with specified detail message.

        Parameters:
        msg - The error message.
      • SerializationException

        public SerializationException​(java.lang.Throwable cause)

        Constructs a new SerializationException with specified nested Throwable.

        Parameters:
        cause - The Exception or Error that caused this exception to be thrown.
      • SerializationException

        public SerializationException​(java.lang.String msg,
                                      java.lang.Throwable cause)

        Constructs a new SerializationException with specified detail message and nested Throwable.

        Parameters:
        msg - The error message.
        cause - The Exception or Error that caused this exception to be thrown.