Project JXTA

net.jxta.impl.config
Class ConfigurationException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--net.jxta.impl.config.ConfigurationException

public class ConfigurationException
extends java.lang.Exception

Exception class for all configuration exceptions. The public interface of Config only throws exceptions of this class.

See Also:
Serialized Form

Constructor Summary
ConfigurationException(java.lang.String aDescription)
          Constructor for when there is not a nested exception
ConfigurationException(java.lang.String aDescription, java.lang.Exception aNestedException)
          Constructor for passing up a nested exception.
 
Method Summary
 java.lang.Exception getNestedException()
          Returns the exception nested inside of this exception.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, 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 aDescription)
Constructor for when there is not a nested exception

ConfigurationException

public ConfigurationException(java.lang.String aDescription,
                              java.lang.Exception aNestedException)
Constructor for passing up a nested exception.
Method Detail

getNestedException

public java.lang.Exception getNestedException()
Returns the exception nested inside of this exception. May be null, as not all exceptions will have a nested exception.

Project JXTA