Top Fields Constructors Methods
org.apache.xerces.jaxp

pack-priv Class DefaultValidationErrorHandler

extends DefaultHandler
Class Inheritance
Imports
org.xml.sax.SAXException, .SAXParseException, org.xml.sax.helpers.DefaultHandler

Version
$Id: DefaultValidationErrorHandler.java 447237 2006-09-18 05:03:10Z mrglavas $

Field Summary

Modifier and TypeField and Description
private static int
private int

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public void
error(SAXParseException
The error information encoded as an exception.
e
)

Overrides org.xml.sax.helpers.DefaultHandler.error.

Implements org.xml.sax.ErrorHandler.error.

Receive notification of a recoverable parser error.
Inherited from org.xml.sax.helpers.DefaultHandler:
charactersendDocumentendElementendPrefixMappingfatalErrorignorableWhitespacenotationDeclprocessingInstructionresolveEntitysetDocumentLocatorskippedEntitystartDocumentstartElementstartPrefixMappingunparsedEntityDeclwarning

Field Detail

ERROR_COUNT_LIMITback to summary
private static int ERROR_COUNT_LIMIT
errorCountback to summary
private int errorCount

Constructor Detail

DefaultValidationErrorHandlerback to summary
pack-priv DefaultValidationErrorHandler()

Method Detail

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

Overrides org.xml.sax.helpers.DefaultHandler.error.

Implements org.xml.sax.ErrorHandler.error.

Doc from org.xml.sax.helpers.DefaultHandler.error.

Receive notification of a recoverable parser error.

The default implementation does nothing. Application writers may override this method in a subclass to take specific actions for each error, such as inserting the message in a log file or printing it to the console.

Parameters
e:SAXParseException

The error information encoded as an exception.

Exceptions
SAXException:
Any SAX exception, possibly wrapping another exception.