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
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 byThrowable.getCause()
), like aSAXException
.- Author:
- Patrick Haas
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description XMLFormatException(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 Detail
-
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:
Exception(String)
-
XMLFormatException
public XMLFormatException(Throwable cause)
Creates a new XML format exception with the given cause.- Parameters:
cause
- The cause of the exception.- See Also:
Exception(Throwable)
-
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:
Exception(String, Throwable)
-
-