com.sun.msv.verifier.util
Class ErrorHandlerImpl
- ErrorHandler
public class ErrorHandlerImpl
implements ErrorHandler
default implementation of ErrorHandler.
If an error is found, this implementation will throw it
as an exception so that no further processing of the document will be performed.
All warnings are ignored.
static ErrorHandler | theInstance - the singleton instance of this object.
|
void | error(SAXParseException error)
|
void | fatalError(SAXParseException error)
|
void | warning(SAXParseException warning)
|
theInstance
public static final ErrorHandler theInstance
the singleton instance of this object. This class doesn't have any
internal state so
error
public void error(SAXParseException error)
throws SAXParseException
fatalError
public void fatalError(SAXParseException error)
throws SAXParseException
warning
public void warning(SAXParseException warning)