Class XMLFormatException

java.lang.Object
java.lang.Throwable
java.lang.Exception
de.aristaflow.adept2.util.xml.XMLFormatException
All Implemented Interfaces:
Serializable

public class XMLFormatException extends Exception
Thrown to indicate that parsed XML data was either not well-formed or didn't conform to a certain XML Schema. This exception usually encapsulates a parser-specific exception (i.e. it's returned by Throwable.getCause()), like a SAXException.
Author:
Patrick Haas
See Also:
  • Constructor Details

    • XMLFormatException

      public XMLFormatException(String message)
      Create a new XML format exception with the given exception message.
      Parameters:
      message - The message of the exception.
      See Also:
    • XMLFormatException

      public XMLFormatException(Throwable cause)
      Creates a new XML format exception with the given cause.
      Parameters:
      cause - The cause of the exception.
      See Also:
    • XMLFormatException

      public XMLFormatException(String message, Throwable cause)
      Creates a new XML format exception with the given cause and message.
      Parameters:
      message - The message of the exception.
      cause - The cause of the exception.
      See Also: