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, setSafeMessagegetCause, getMessage, setCause, setMessage, toStringprotected 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.