SAXException

Encapsulate a general SAX error or warning.

<p>This class can contain basic error or warning information from either the XML parser or the application: a parser writer or application writer can subclass it to provide additional functionality. SAX handlers may throw this exception or any exception subclassed from it.</p>

<p>If the application needs to pass through other types of exceptions, it must wrap those exceptions in a SAXException or an exception derived from a SAXException.</p>

<p>If the parser or application needs to include information about a specific location in an XML document, it should use the {@link org.xml.sax.SAXParseException SAXParseException} subclass.</p>

@since SAX 1.0 @author David Megginson @version 2.0.1 (sax2r2) @see org.xml.sax.SAXParseException

Constructors

this
this()

Create a new SAXException.

this
this(istring message)

Create a new SAXException.

this
this(Exception e)

Create a new SAXException wrapping an existing exception.

this
this(istring message, Exception e)

Create a new SAXException from an existing exception.

Members

Functions

message
cstring message()

Return a detail message for this exception.

message
istring message()
Undocumented in source. Be warned that the author may not have intended to support it.

Meta