org.extex.framework.configuration.exception
Class ConfigurationNotFoundException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.extex.framework.configuration.exception.ConfigurationException
                  extended by org.extex.framework.configuration.exception.ConfigurationNotFoundException
All Implemented Interfaces:
java.io.Serializable

public class ConfigurationNotFoundException
extends ConfigurationException

This Exception is thrown when a configuration could not be found.

Version:
$Revision: 5837 $
Author:
Gerd Neugebauer
See Also:
Serialized Form

Constructor Summary
ConfigurationNotFoundException(java.lang.String name, java.lang.String source)
          Create a new object.
 
Method Summary
protected  java.lang.String getText()
          Getter for the text prefix of this ConfigurationException.
 
Methods inherited from class org.extex.framework.configuration.exception.ConfigurationException
getLocalizedMessage, getLocalizer, getSource
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ConfigurationNotFoundException

public ConfigurationNotFoundException(java.lang.String name,
                                      java.lang.String source)
Create a new object.

Parameters:
name - the name of the missing configuration
source - the the name of the file for which this exception occurred
Method Detail

getText

protected java.lang.String getText()
Getter for the text prefix of this ConfigurationException. The text is taken from the resource bundle ConfigurationEception under the key ConfigurationNotFoundException.Text. The argument {0} is replaced by the name of the missing configuration as passed to the constructor.

Overrides:
getText in class ConfigurationException
Returns:
the text