ErrorHandler
interface in package org.xml.sax

    public interface ErrorHandler:

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))

Methods

Modifier and Type | Member | Description
--- | --- | ---
public | error `error(exception as SAXParseException) as Void throws SAXException` | Receives a recoverable error.
public | fatalError `fatalError(exception as SAXParseException) as Void throws SAXException` | Receives a non-recoverable fatal error.
public | warning `warning(exception as SAXParseException) as Void throws SAXException` | Receives a warning.