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(immutable(char)[] message)

Create a new SAXException.

this
this(Exception e)

Create a new SAXException wrapping an existing exception.

this
this(immutable(char)[] message, Exception e)

Create a new SAXException from an existing exception.

Members

Functions

message
immutable(char)[] message()

Return a detail message for this exception.

Inherited Members

From Exception

FrameInfo
struct FrameInfo
Undocumented in source.
TraceInfo
interface TraceInfo
Undocumented in source.
msg
char[] msg;
Undocumented in source.
file
char[] file;
Undocumented in source.
line
size_t line;
Undocumented in source.
info
TraceInfo info;
Undocumented in source.
next
Exception next;
Undocumented in source.
toString
char[] toString()
Undocumented in source. Be warned that the author may not have intended to support it.
writeOutMsg
void writeOutMsg(void delegate(char[]) sink)
Undocumented in source. Be warned that the author may not have intended to support it.
writeOut
void writeOut(void delegate(char[]) sink)
Undocumented in source. Be warned that the author may not have intended to support it.

Meta