org.extex.framework.configuration.exception
Class ConfigurationNoSuchMethodException

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

public class ConfigurationNoSuchMethodException
extends ConfigurationException

This exception is thrown when a dynamically loaded class does not provide the expected method.

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

Constructor Summary
ConfigurationNoSuchMethodException(java.lang.String aClassName)
          Creates a new object.
ConfigurationNoSuchMethodException(java.lang.String className, Configuration config)
          Creates a new object.
ConfigurationNoSuchMethodException(java.lang.Throwable cause)
          Creates 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

ConfigurationNoSuchMethodException

public ConfigurationNoSuchMethodException(java.lang.String aClassName)
Creates a new object.

Parameters:
aClassName - the name of the class which could not be found

ConfigurationNoSuchMethodException

public ConfigurationNoSuchMethodException(java.lang.String className,
                                          Configuration config)
Creates a new object.

Parameters:
className - the name of the class which could not be found
config - the configuration in which the exception occurred.

ConfigurationNoSuchMethodException

public ConfigurationNoSuchMethodException(java.lang.Throwable cause)
Creates a new object.

Parameters:
cause - the next Throwable in the list
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 ConfigurationNoSuchMethodException.Text. The argument {0} is replaced by the name of the missing method as passed to the constructor.

Overrides:
getText in class ConfigurationException
Returns:
the text