JTR 5.0 API Documentation

jtr.config
Class JtrSaxErrorHandler

java.lang.Object
  extended by jtr.config.JtrSaxErrorHandler
All Implemented Interfaces:
org.xml.sax.ErrorHandler

public class JtrSaxErrorHandler
extends java.lang.Object
implements org.xml.sax.ErrorHandler

This is the JTR custom handler for SAX exceptions generated while deserializing the content of the jtr.xml configuration file at startup.

Since:
3.0
Version:
5.0
Author:
Francesco Russo (frusso@dev.java.net)

Field Summary
protected static org.apache.log4j.Logger logger
           
 
Constructor Summary
JtrSaxErrorHandler()
          Default constructor.
 
Method Summary
 void error(org.xml.sax.SAXParseException exception)
           
 void fatalError(org.xml.sax.SAXParseException exception)
           
 void warning(org.xml.sax.SAXParseException exception)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

protected static final org.apache.log4j.Logger logger
Constructor Detail

JtrSaxErrorHandler

public JtrSaxErrorHandler()
Default constructor.

Method Detail

warning

public void warning(org.xml.sax.SAXParseException exception)
             throws org.xml.sax.SAXException
Specified by:
warning in interface org.xml.sax.ErrorHandler
Throws:
org.xml.sax.SAXException
See Also:
ErrorHandler.warning(org.xml.sax.SAXParseException)

error

public void error(org.xml.sax.SAXParseException exception)
           throws org.xml.sax.SAXException
Specified by:
error in interface org.xml.sax.ErrorHandler
Throws:
org.xml.sax.SAXException
See Also:
ErrorHandler.error(org.xml.sax.SAXParseException)

fatalError

public void fatalError(org.xml.sax.SAXParseException exception)
                throws org.xml.sax.SAXException
Specified by:
fatalError in interface org.xml.sax.ErrorHandler
Throws:
org.xml.sax.SAXException
See Also:
ErrorHandler.fatalError(org.xml.sax.SAXParseException)

The JTR Project is licensed under GPL version 2