ErrorHandler
The way SAX deals with error conditions is described in
Section 3.2.2 in Chapter 3. For the methods of the
ErrorHandler
interface, each is
called with a parameter giving an SAXException
instance as a parameter. The
specific exception classes are described in SAX Exceptions, later in this
Appendix.
error(
exception
)
This method allows the application to respond to a recoverable error.
fatalError(
exception
)
Similar to error
, this method indicates that the
parser has encountered an error that is not recoverable.
Applications are to assume that the document is unusable at this
point.
warning(
exception
)
This method is called to communicate conditions that are not fatal, and not necessarily errors.
18.191.144.65