java.lang.Object
java.lang.Throwable
java.lang.Exception
org.cybergarage.xml.ParserException
- All Implemented Interfaces:
Serializable
Exception thrown when XML parsing fails.
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.
- See Also:
Constructor Summary
ConstructorsConstructorDescriptionCreates a ParserException wrapping another exception.Creates a ParserException with the specified detail message.Method Summary
Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
Constructor Details
ParserException
Creates a ParserException wrapping another exception.- Parameters:
e- the underlying exception that caused this parser exception
ParserException
Creates a ParserException with the specified detail message.- Parameters:
s- the detail message explaining the parsing error