ProgramixGenericLib v5.0.1

com.programix.saxplus
Class ConsoleErrorHandler

java.lang.Object
  extended by com.programix.saxplus.ConsoleErrorHandler
All Implemented Interfaces:
ErrorHandler

public class ConsoleErrorHandler
extends Object
implements ErrorHandler

A plain ErrorHandler for use with SAXPlus (and just SAX) during XML parsing. This implementation simply dumps the exception details to System.err.

Author:
Paul Hyde

Constructor Summary
ConsoleErrorHandler()
           
 
Method Summary
 void error(SAXParseException spe)
           
 void fatalError(SAXParseException spe)
           
 void warning(SAXParseException spe)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConsoleErrorHandler

public ConsoleErrorHandler()
Method Detail

warning

public void warning(SAXParseException spe)
             throws SAXException
Specified by:
warning in interface ErrorHandler
Throws:
SAXException

error

public void error(SAXParseException spe)
           throws SAXException
Specified by:
error in interface ErrorHandler
Throws:
SAXException

fatalError

public void fatalError(SAXParseException spe)
                throws SAXException
Specified by:
fatalError in interface ErrorHandler
Throws:
SAXException

ProgramixGenericLib v5.0.1

Copyright © 2001-2009 Programix Incorporated. All rights reserved. ProgramixGenericLib is free and is OSI Certified Open Source Software under the BSD license.