Package com.sun.msv.verifier.util
Class ErrorHandlerImpl
java.lang.Object
com.sun.msv.verifier.util.ErrorHandlerImpl
- All Implemented Interfaces:
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.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ErrorHandler
the singleton instance of this object. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
error
(SAXParseException error) void
fatalError
(SAXParseException error) void
warning
(SAXParseException warning)
-
Field Details
-
theInstance
the singleton instance of this object. This class doesn't have any internal state so
-
-
Constructor Details
-
ErrorHandlerImpl
public ErrorHandlerImpl()
-
-
Method Details
-
fatalError
- Specified by:
fatalError
in interfaceErrorHandler
- Throws:
SAXParseException
-
error
- Specified by:
error
in interfaceErrorHandler
- Throws:
SAXParseException
-
warning
- Specified by:
warning
in interfaceErrorHandler
-