net.sf.saxon
Class StandardErrorHandler
public
class
StandardErrorHandler
extends Object
implements ErrorHandler
Method Summary |
void | error(SAXParseException e)
Callback interface for SAX: not for application use |
void | fatalError(SAXParseException e)
Callback interface for SAX: not for application use |
protected void | reportError(SAXParseException e, boolean isFatal)
Common routine for SAX errors and fatal errors |
void | setErrorOutput(Writer writer)
Set output for error messages produced by the default error handler.
|
void | warning(SAXParseException e)
Callback interface for SAX: not for application use |
public StandardErrorHandler(ErrorListener listener)
public void error(SAXParseException e)
Callback interface for SAX: not for application use
public void fatalError(SAXParseException e)
Callback interface for SAX: not for application use
protected void reportError(SAXParseException e, boolean isFatal)
Common routine for SAX errors and fatal errors
public void setErrorOutput(Writer writer)
Set output for error messages produced by the default error handler.
The default error handler does not throw an exception
for parse errors or input I/O errors, rather it returns a result code and
writes diagnostics to a user-specified output writer, which defaults to
System.err
This call has no effect if setErrorHandler() has been called to supply a
user-defined error handler
Parameters: writer The Writer to use for error messages
public void warning(SAXParseException e)
Callback interface for SAX: not for application use