com.pietschy.command.configuration
Class ConfigurationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.pietschy.command.configuration.ConfigurationException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
AnonymousConfigurationException, ConfiguratorNotFoundException, MissingConfigurationException

public class ConfigurationException
extends java.lang.RuntimeException

Thrown if an error occurs while configuring a command.

See Also:
ConfigurationLoader.configure(Command), Serialized Form

Constructor Summary
ConfigurationException(java.lang.String message)
          Creates an exception with the specified message.
ConfigurationException(java.lang.String message, java.lang.Throwable throwable)
          Creates an exception with the specified message and root cause.
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, 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

ConfigurationException

public ConfigurationException(java.lang.String message)
Creates an exception with the specified message.

Parameters:
message - the exception message.

ConfigurationException

public ConfigurationException(java.lang.String message,
                              java.lang.Throwable throwable)
Creates an exception with the specified message and root cause.

Parameters:
message - the exception message.
throwable - the root cause of the exception.


Copyright © 2006 - 2007 Andrew Pietsch