Class SerializationException

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

    @Deprecated(since="2021-04-30")
    public class SerializationException
    extends NestableRuntimeException
    Deprecated.
    Commons Lang 2 is in maintenance mode. Commons Lang 3 should be used instead.

    Exception thrown when the Serialization process fails.

    The original error is wrapped within this one.

    Since:
    1.0
    See Also:
    Serialized Form
    • Constructor Detail

      • SerializationException

        public SerializationException()
        Deprecated.

        Constructs a new SerializationException without specified detail message.

      • SerializationException

        public SerializationException​(java.lang.String msg)
        Deprecated.

        Constructs a new SerializationException with specified detail message.

        Parameters:
        msg - The error message.
      • SerializationException

        public SerializationException​(java.lang.Throwable cause)
        Deprecated.

        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)
        Deprecated.

        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.