org.extex.framework.configuration.exception
Class ConfigurationClassNotFoundException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.extex.framework.configuration.exception.ConfigurationException
org.extex.framework.configuration.exception.ConfigurationClassNotFoundException
- All Implemented Interfaces:
- java.io.Serializable
public class ConfigurationClassNotFoundException
- extends ConfigurationException
This exception is thrown when a dynamically loaded class could not be found.
- Version:
- $Revision: 5837 $
- Author:
- Gerd Neugebauer
- See Also:
- Serialized Form
|
Method Summary |
protected java.lang.String |
getText()
Getter for the text prefix of this ConfigException. |
| 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 |
ConfigurationClassNotFoundException
public ConfigurationClassNotFoundException(java.lang.String aClassName)
- Creates a new object.
- Parameters:
aClassName - the name of the class which could not be found
ConfigurationClassNotFoundException
public ConfigurationClassNotFoundException(java.lang.String className,
Configuration config)
- Creates a new object.
- Parameters:
className - the name of the class which could not be foundconfig - the configuration in which the problem occurred or
null
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 ConfigurationClassNotFoundException.Text. The
argument {0} is replaced by the name of the missing class as passed
to the constructor, or the message of the cause if no class name is
present, or the empty string as final fallback.
- Overrides:
getText in class ConfigurationException
- Returns:
- the text