public class SAXException extends Exception
Base SAX error or warning.
SAX handlers may throw this exception or a subclass to report parser or application errors.
import org.xml.sax
raise = SAXException("Invalid XML event")
print(raise.message)| Modifier and Type | Member | Description |
|---|---|---|
| public override property | messagemessage as String |
Detail message for this SAX exception. |
| Modifier and Type | Member | Description |
|---|---|---|
| public | SAXException | Creates an empty SAX exception. |
| public | SAXExceptionSAXException(exception as Exception) |
Creates a SAX exception wrapping another exception. |
| public | SAXExceptionSAXException(message as String) |
Creates a SAX exception with a message. |
| public | SAXExceptionSAXException(message as String, exception as Exception) |
Creates a SAX exception with a message and embedded exception. |
| Modifier and Type | Member | Description |
|---|---|---|
| public | getCausegetCause() as Exception |
Returns the exception cause. |
| public | getExceptiongetException() as Exception |
Returns the embedded exception. |