com.sun.msv.verifier.util

Class ErrorHandlerImpl

public class ErrorHandlerImpl extends Object 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.

Author: Kohsuke KAWAGUCHI

Field Summary
static ErrorHandlertheInstance
the singleton instance of this object.
Method Summary
voiderror(SAXParseException error)
voidfatalError(SAXParseException error)
voidwarning(SAXParseException warning)

Field Detail

theInstance

public static final ErrorHandler theInstance
the singleton instance of this object. This class doesn't have any internal state so

Method Detail

error

public void error(SAXParseException error)

fatalError

public void fatalError(SAXParseException error)

warning

public void warning(SAXParseException warning)