public interface ErrorHandler:
Handler for SAX warnings and errors.
Parsers report XML warnings, recoverable errors and fatal errors through this interface.
@example `klyn import org.xml.sax
handler as ErrorHandler = null if handler is not null: handler.warning(SAXParseException("Suspicious XML", null))
| Modifier and Type | Member | Description |
|---|---|---|
| public | errorerror(exception as SAXParseException) as Void throws SAXException |
Receives a recoverable error. |
| public | fatalErrorfatalError(exception as SAXParseException) as Void throws SAXException |
Receives a non-recoverable fatal error. |
| public | warningwarning(exception as SAXParseException) as Void throws SAXException |
Receives a warning. |