org.enhydra.apache.xerces.jaxp
Class DefaultValidationErrorHandler

java.lang.Object
  |
  +--org.xml.sax.helpers.DefaultHandler
        |
        +--org.enhydra.apache.xerces.jaxp.DefaultValidationErrorHandler
All Implemented Interfaces:
ContentHandler, DTDHandler, EntityResolver, ErrorHandler

class DefaultValidationErrorHandler
extends DefaultHandler


Constructor Summary
(package private) DefaultValidationErrorHandler()
           
 
Method Summary
 void error(SAXParseException e)
          Receive notification of a recoverable parser error.
 
Methods inherited from class org.xml.sax.helpers.DefaultHandler
characters, endDocument, endElement, endPrefixMapping, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startElement, startPrefixMapping, unparsedEntityDecl, warning
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultValidationErrorHandler

DefaultValidationErrorHandler()
Method Detail

error

public void error(SAXParseException e)
           throws SAXException
Description copied from class: DefaultHandler
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.

Specified by:
error in interface ErrorHandler
Overrides:
error in class DefaultHandler
Parameters:
e - The warning information encoded as an exception.
Throws:
SAXException - Any SAX exception, possibly wrapping another exception.
See Also:
ErrorHandler.warning(org.xml.sax.SAXParseException), SAXParseException


Copyright © 1999 The Apache Software Foundation. All Rights reserved.