edu.ntnu.item.jt.configloader
Class XMLErrorHandler

java.lang.Object
  extended by edu.ntnu.item.jt.configloader.XMLErrorHandler
All Implemented Interfaces:
ErrorHandler

public class XMLErrorHandler
extends Object
implements ErrorHandler

Error handler for the XML Validator.

Author:
Thomas Langerud

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

Constructor Detail

XMLErrorHandler

public XMLErrorHandler()
Method Detail

error

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

fatalError

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

warning

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