APIdia Launch Partner
Top Description Fields Constructors Methods
com.sun.org.apache.xerces.internal.jaxp.validation

pack-priv final Class DraconianErrorHandler

extends Object
implements ErrorHandler
Class Inheritance
All Implemented Interfaces
org.xml.sax.ErrorHandler
Imports
org.xml.sax.ErrorHandler, .SAXException, .SAXParseException

ErrorHandler that throws all errors and fatal errors.
Author
Kohsuke Kawaguchi

Field Summary

Modifier and TypeField and Description
private static final DraconianErrorHandler
ERROR_HANDLER_INSTANCE

Singleton instance.

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public void
error(SAXParseException e)

Implements org.xml.sax.ErrorHandler.error.

Error: Throws back SAXParseException.

public void
fatalError(SAXParseException e)

Implements org.xml.sax.ErrorHandler.fatalError.

Fatal Error: Throws back SAXParseException.

public static DraconianErrorHandler
getInstance()

Returns the one and only instance of this error handler.

public void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

ERROR_HANDLER_INSTANCEback to summary
private static final DraconianErrorHandler ERROR_HANDLER_INSTANCE

Singleton instance.

Constructor Detail

DraconianErrorHandlerback to summary
private DraconianErrorHandler()

Method Detail

errorback to summary
public void error(SAXParseException e) throws SAXException

Implements org.xml.sax.ErrorHandler.error.

Error: Throws back SAXParseException.

Exceptions
SAXException:

Doc from org.xml.sax.ErrorHandler.error.

Any SAX exception, possibly wrapping another exception.

fatalErrorback to summary
public void fatalError(SAXParseException e) throws SAXException

Implements org.xml.sax.ErrorHandler.fatalError.

Fatal Error: Throws back SAXParseException.

Exceptions
SAXException:

Doc from org.xml.sax.ErrorHandler.fatalError.

if the application chooses to discontinue the parsing

getInstanceback to summary
public static DraconianErrorHandler getInstance()

Returns the one and only instance of this error handler.

warningback to summary
public void warning(SAXParseException e) throws SAXException

Implements org.xml.sax.ErrorHandler.warning.

Warning

Ignore.

Exceptions
SAXException:

Doc from org.xml.sax.ErrorHandler.warning.

Any SAX exception, possibly wrapping another exception.