|
LibreOffice
LibreOffice 5.3 SDK API Reference
|
is the basic interface for SAX error handlers. More...
import"XErrorHandler.idl";
Public Member Functions | |
| void | error ([in] any aSAXParseException) raises ( com::sun::star::xml::sax::SAXException ) |
| receives notification of a recoverable error. More... | |
| void | fatalError ([in] any aSAXParseException) raises ( com::sun::star::xml::sax::SAXException ) |
| receives notification of a non-recoverable error. More... | |
| void | warning ([in] any aSAXParseException) raises ( com::sun::star::xml::sax::SAXException ) |
| receives notification of a warning. More... | |
Public Member Functions inherited from XInterface | |
| any | queryInterface ([in] type aType) |
| queries for a new interface to an existing UNO object. More... | |
| void | acquire () |
| increases the reference counter by one. More... | |
| void | release () |
| decreases the reference counter by one. More... | |
is the basic interface for SAX error handlers.
If a SAX application needs to implement customized error handling, it must implement this interface and then register an instance with the SAX parser using the parser's XParser::setErrorhandler() method. The parser will then report all errors and warnings through this interface.
This interface is a slight adaption of the Java interface org.xml.sax.ErrorHandler. In IDL, no exception can be passed as an argument, so an any serves as the container. The type of the exception is SAXParseException or an instance of a derived class.
| void error | ( | [in] any | aSAXParseException | ) | |
| raises | ( | com::sun::star::xml::sax::SAXException | |||
| ) | |||||
receives notification of a recoverable error.
| void fatalError | ( | [in] any | aSAXParseException | ) | |
| raises | ( | com::sun::star::xml::sax::SAXException | |||
| ) | |||||
receives notification of a non-recoverable error.
| void warning | ( | [in] any | aSAXParseException | ) | |
| raises | ( | com::sun::star::xml::sax::SAXException | |||
| ) | |||||
receives notification of a warning.
1.8.13