org.apache.jackrabbit.core.config
Class ConfigurationErrorHandler

java.lang.Object
  extended by org.apache.jackrabbit.core.config.ConfigurationErrorHandler
All Implemented Interfaces:
ErrorHandler

public class ConfigurationErrorHandler
extends Object
implements ErrorHandler

Error handler for errors in the repository or workspace configuration.

Author:
Thomas Mueller

Constructor Summary
ConfigurationErrorHandler()
           
 
Method Summary
 void error(SAXParseException exception)
          This method is called when there is an error parsing the configuration file.
 void fatalError(SAXParseException exception)
          This method is called when there is a fatal error parsing the configuration file.
 void warning(SAXParseException exception)
          This method is called when there is a warning parsing the configuration file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConfigurationErrorHandler

public ConfigurationErrorHandler()
Method Detail

error

public void error(SAXParseException exception)
           throws SAXException
This method is called when there is an error parsing the configuration file. The relevant information is written to the log file.

Specified by:
error in interface ErrorHandler
Throws:
SAXException

fatalError

public void fatalError(SAXParseException exception)
                throws SAXException
This method is called when there is a fatal error parsing the configuration file. The relevant information is written to the log file.

Specified by:
fatalError in interface ErrorHandler
Throws:
SAXException

warning

public void warning(SAXParseException exception)
             throws SAXException
This method is called when there is a warning parsing the configuration file. The relevant information is written to the log file.

Specified by:
warning in interface ErrorHandler
Throws:
SAXException


Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.