org.codehaus.groovy.control
Class ConfigurationException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended byorg.codehaus.groovy.control.ConfigurationException
All Implemented Interfaces:
GroovyExceptionInterface, java.io.Serializable

public class ConfigurationException
extends java.lang.RuntimeException
implements GroovyExceptionInterface

Thrown when configuration data is invalid.

Version:
$Id: ConfigurationException.java,v 1.1 2004/04/19 07:29:44 cpoirier Exp $
Author:
Chris Poirier
See Also:
Serialized Form

Field Summary
protected  java.lang.Exception cause
           
 
Fields inherited from class java.lang.RuntimeException
 
Fields inherited from class java.lang.Throwable
 
Constructor Summary
ConfigurationException(java.lang.Exception cause)
          Initializes the exception from a cause exception.
ConfigurationException(java.lang.String message)
          Initializes the exception with just a message.
 
Method Summary
 java.lang.Throwable getCause()
          Returns the causing exception, if available.
 boolean isFatal()
          Its always fatal.
 void setFatal(boolean fatal)
          Set fatal is just ignored.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, 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
 

Field Detail

cause

protected java.lang.Exception cause
Constructor Detail

ConfigurationException

public ConfigurationException(java.lang.Exception cause)
Initializes the exception from a cause exception.


ConfigurationException

public ConfigurationException(java.lang.String message)
Initializes the exception with just a message.

Method Detail

getCause

public java.lang.Throwable getCause()
Returns the causing exception, if available.


isFatal

public boolean isFatal()
Its always fatal.

Specified by:
isFatal in interface GroovyExceptionInterface

setFatal

public void setFatal(boolean fatal)
Set fatal is just ignored.

Specified by:
setFatal in interface GroovyExceptionInterface


Copyright © 2003-2005 The Codehaus. All Rights Reserved.