Hilbert II - Version 0.03.08

org.qedeq.kernel.xml.parser
Class SaxErrorHandler

java.lang.Object
  extended byorg.qedeq.kernel.xml.parser.SaxErrorHandler
All Implemented Interfaces:
ErrorHandler

public class SaxErrorHandler
extends Object
implements ErrorHandler

Error handler for XML parsing.

Version:
$Revision: 1.16 $

Field Summary
static int SAX_PARSER_EXCEPTION
          Error code for Exceptions thrown by the SAXParser.
 
Constructor Summary
SaxErrorHandler(URL url, DefaultSourceFileExceptionList list)
          Constructor.
 
Method Summary
 void error(SAXParseException e)
           
 void fatalError(SAXParseException e)
           
 void warning(SAXParseException e)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SAX_PARSER_EXCEPTION

public static final int SAX_PARSER_EXCEPTION
Error code for Exceptions thrown by the SAXParser.

See Also:
Constant Field Values
Constructor Detail

SaxErrorHandler

public SaxErrorHandler(URL url,
                       DefaultSourceFileExceptionList list)
Constructor.

Parameters:
url - URL that is parsed.
list - Collector for the SAX exceptions.
Method Detail

warning

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

error

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

fatalError

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

Hilbert II - Version 0.03.08

©left GNU General Public Licence
All Rights Reserved.