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.1 $ $Date: 2000/07/14 16:44:52 $
Author:
Federico Barbieri, Stefano Mazzocchi, Pierpaolo Fumagalli
See Also:
Serialized Form

Constructor Summary
ConfigurationException(java.lang.String message, Configuration conf)
          Construct a new ConfigurationException instance.
 
Method Summary
 Configuration getConfiguration()
          Get the Configuration element.
 java.lang.String getMessage()
          Return this ConfigurationException (if possible with location information).
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, printStackTrace, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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.
Method Detail

getConfiguration

public Configuration getConfiguration()
Get the Configuration element.

getMessage

public java.lang.String getMessage()
Return this ConfigurationException (if possible with location information).
Overrides:
getMessage in class java.lang.Throwable