Package org.jsoup

Class SerializationException

All Implemented Interfaces:
Serializable

public final class SerializationExceptionextends RuntimeException
A SerializationException is raised whenever serialization of a DOM element fails. This exception usually wraps an IOException that may be thrown due to an inaccessible output stream.
See Also:
  • Constructor Details

    • SerializationException

      public SerializationException()
      Creates and initializes a new serialization exception with no error message and cause.
    • SerializationException

      public SerializationException (String message)
      Creates and initializes a new serialization exception with the given error message and no cause.
      Parameters:
      message - the error message of the new serialization exception (may be null).
    • SerializationException

      public SerializationException (Throwable cause)
      Creates and initializes a new serialization exception with the specified cause and an error message of (cause==null ? null : cause.toString()) (which typically contains the class and error message of cause).
      Parameters:
      cause - the cause of the new serialization exception (may be null).
    • SerializationException

      public SerializationException (String message, Throwable cause)
      Creates and initializes a new serialization exception with the given error message and cause.
      Parameters:
      message - the error message of the new serialization exception.
      cause - the cause of the new serialization exception.