Package de.aristaflow.adept2.util.xml
Class XMLFormatException
java.lang.Object
java.lang.Throwable
java.lang.Exception
de.aristaflow.adept2.util.xml.XMLFormatException
- All Implemented Interfaces:
Serializable
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 Summary
ConstructorsConstructorDescriptionXMLFormatException(String message) Create a new XML format exception with the given exception message.XMLFormatException(String message, Throwable cause) Creates a new XML format exception with the given cause and message.XMLFormatException(Throwable cause) Creates a new XML format exception with the given cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
XMLFormatException
Create a new XML format exception with the given exception message.- Parameters:
message- The message of the exception.- See Also:
-
XMLFormatException
Creates a new XML format exception with the given cause.- Parameters:
cause- The cause of the exception.- See Also:
-
XMLFormatException
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:
-