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.
@example `klyn import org.xml.sax
raise = SAXException("Invalid XML event") print(raise.message)
| Modifier and Type | Member | Description |
|---|---|---|
| public override readonly property | messagemessage as String: |
Detail message for this SAX exception. |
| Modifier and Type | Member | Description |
|---|---|---|
| public | SAXExceptionSAXException(): |
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. |
| public override method | toStringtoString() as String: |
Returns a string representation including the embedded exception. |