SAXException
class in package org.xml.sax

    public class SAXException extends Exception:

Object
└ Exception
└ SAXException

Base SAX error or warning.

SAX handlers may throw this exception or a subclass to report parser or application errors.

Example

    import org.xml.sax

    raise = SAXException("Invalid XML event")
    print(raise.message)

Properties

Modifier and Type | Member | Description
--- | --- | ---
public override readonly property | message `message as String:` | Detail message for this SAX exception.

Inherited Properties
property Inherited Properties from Exception: message
property Inherited Properties from Object: type
Constructors

Modifier and Type | Member | Description
--- | --- | ---
public | SAXException `SAXException():` | Creates an empty SAX exception.
public | SAXException `SAXException(exception as Exception):` | Creates a SAX exception wrapping another exception.
public | SAXException `SAXException(message as String):` | Creates a SAX exception with a message.
public | SAXException `SAXException(message as String, exception as Exception):` | Creates a SAX exception with a message and embedded exception.

Methods

Modifier and Type | Member | Description
--- | --- | ---
public | getCause `getCause() as Exception:` | Returns the exception cause.
public | getException `getException() as Exception:` | Returns the embedded exception.
public override method | toString `toString() as String:` | Returns a string representation including the embedded exception.

Inherited Methods
method Inherited Methods from Object: deepCopy, fromJson, toDict, toJson, toString, toXml