Class SerializationException

    • Constructor Detail

      • SerializationException

        public SerializationException()
        Constructs a new serialization exception with null as its detail message.
      • SerializationException

        public SerializationException​(String message)
        Constructs a new serialization exception with message.
        Parameters:
        message - the detail message.
      • SerializationException

        public SerializationException​(Throwable cause)
        Constructs a new serialization exception with the specified cause and a detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause). This constructor is useful for serialization exceptions that are little more than wrappers for other throwables.
        Parameters:
        cause - the cause. (A null value is permitted, and indicates that the cause is nonexistent or unknown.)
      • SerializationException

        public SerializationException​(String message,
                                      Throwable cause)
        Constructs a new serialization exception with the specified detail message and cause. Note that the detail message associated with cause is not automatically incorporated in this serialization exception's detail message.
        Parameters:
        message - the detail message.
        cause - the cause. (A null value is permitted, and indicates that the cause is nonexistent or unknown.)