public class ParserException extends Exception
This exception is used throughout the XML parsing framework to indicate errors that occur during XML document parsing, including I/O errors, malformed XML, and security violations.
| Constructor and Description |
|---|
ParserException(Exception e)Creates a ParserException wrapping another exception. |
ParserException(String s)Creates a ParserException with the specified detail message. |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic ParserException(Exception e)
e - the underlying exception that caused this parser exceptionpublic ParserException(String s)
s - the detail message explaining the parsing error