Package io.kojan.xml

Class XMLException

All Implemented Interfaces:
Serializable

public class XMLException extends Exception
Indicates an exception that occurred during XML serialization or deserialization, such as malformed XML or XML not conforming to the expected schema.
See Also:
  • Field Details

  • Constructor Details

    • XMLException

      public XMLException(String message)
      Constructs a new XML exception with the specified detail message and no cause.
      Parameters:
      message - the exception detail message
      See Also:
    • XMLException

      public XMLException(String message, Throwable cause)
      Constructs a new XML exception with the specified detail message and cause.
      Parameters:
      message - the exception detail message
      cause - the cause of this exception
      See Also:
    • XMLException

      public XMLException(Throwable cause)
      Constructs a new XML exception with the specified cause and no detail message.
      Parameters:
      cause - the cause of this exception
      See Also: