public class XmlException extends DataFormatException
Exception thrown when an error occurs during the parsing of an XML document.
Modifier | Constructor and Description |
---|---|
|
XmlException()
Default constructor.
|
protected |
XmlException(java.lang.String message,
java.lang.Throwable cause) |
Modifier and Type | Method and Description |
---|---|
static XmlException |
withMessage(java.lang.String message)
Return a new exception with the specified message text.
|
getSafeMessage, safe, setSafeMessage
getCause, getMessage, setCause, setMessage, toString
protected XmlException(java.lang.String message, java.lang.Throwable cause)
public XmlException()
Default constructor.
public static XmlException withMessage(java.lang.String message)
Return a new exception with the specified message text.
message
- Message text.