org.extex.framework.configuration.exception
Class ConfigurationMissingException

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.ConfigurationMissingException
All Implemented Interfaces:
java.io.Serializable

public class ConfigurationMissingException
extends ConfigurationException

This Exception is thrown when a configuration is requested with the path null or the empty string. Alternatively it can be used when some other kind of configuration information is missing.

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

Constructor Summary
ConfigurationMissingException(java.lang.String message)
          Create a new object.
ConfigurationMissingException(java.lang.String message, java.lang.String location)
          Create a new object.
ConfigurationMissingException(java.lang.String message, java.lang.Throwable cause)
          Creates a new object.
 
Method Summary
protected  java.lang.String getText()
          Getter for the text prefix of this ConfigException.
 
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

ConfigurationMissingException

public ConfigurationMissingException(java.lang.String message)
Create a new object.

Parameters:
message - the message string

ConfigurationMissingException

public ConfigurationMissingException(java.lang.String message,
                                     java.lang.String location)
Create a new object.

Parameters:
message - the message string
location - the location of the missing configuration item

ConfigurationMissingException

public ConfigurationMissingException(java.lang.String message,
                                     java.lang.Throwable cause)
Creates a new object.

Parameters:
message - message the message string
cause - the next Throwable in the list
Method Detail

getText

protected java.lang.String getText()
Getter for the text prefix of this ConfigException. The text is taken from the resource bundle ConfigurationEception under the key ConfigurationMissingException.Text.

Overrides:
getText in class ConfigurationException
Returns:
the text