SAXException
classin packageorg.xml.sax
public class SAXException extends Exception:
└ SAXException

Base SAX error or warning.

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

@example `klyn 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.
Properties inherited from Exception: message
Properties inherited from Object: type
Constructors
Modifier and Type Member Description
public 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.
Methods inherited from Object: fromJson, toDict, toJson, toString, toXml