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
import org.xml.sax

raise = SAXException("Invalid XML event")
print(raise.message)
Properties
Modifier and Type Member Description
public override property message
message as String
Detail message for this SAX exception.
Inherited Properties
propertyInherited Properties from Exception: message
propertyInherited Properties 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.
Inherited Methods
methodInherited Methods from Object: deepCopy, fromJson, hash, toDict, toJson, toMap, toString, toXml