org.apache.slide.util.conf
Class ConfigurationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.slide.util.conf.ConfigurationException
- All Implemented Interfaces:
- java.io.Serializable
- public class ConfigurationException
- extends java.lang.RuntimeException
Thrown when a Configurable
component cannot be configured
properly, or if a value cannot be retrieved properly.
- Version:
- CVS $Revision: 1.3.2.1 $ $Date: 2004/02/05 16:05:14 $
- Author:
- Federico Barbieri, Stefano Mazzocchi, Pierpaolo Fumagalli
- See Also:
- Serialized Form
Fields inherited from class java.lang.RuntimeException |
|
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ConfigurationException
public ConfigurationException(java.lang.String message,
Configuration conf)
- Construct a new
ConfigurationException
instance.
- Parameters:
message
- The detail message for this exception (mandatory).conf
- The configuration element.
getConfiguration
public Configuration getConfiguration()
- Get the
Configuration
element.
- Returns:
Configuration
element associated, or
null
if there is none.
getMessage
public java.lang.String getMessage()
- Return this
ConfigurationException
(if possible with
location information).