Package org.codehaus.groovy.control
Class ConfigurationException
- java.lang.Object
 - 
- java.lang.Throwable
 - 
- java.lang.Exception
 - 
- java.lang.RuntimeException
 - 
- org.codehaus.groovy.control.ConfigurationException
 
 
 
 
 
- 
- All Implemented Interfaces:
 Serializable,GroovyExceptionInterface
public class ConfigurationException extends RuntimeException implements GroovyExceptionInterface
Thrown when configuration data is invalid.- See Also:
 - Serialized Form
 
 
- 
- 
Constructor Summary
Constructors Constructor Description ConfigurationException(Exception cause)Initializes the exception from a cause exception.ConfigurationException(String message)Initializes the exception with just a message. 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ThrowablegetCause()Returns the causing exception, if available.booleanisFatal()Its always fatal.voidsetFatal(boolean fatal)Set fatal is just ignored.- 
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString 
 - 
 
 - 
 
- 
- 
Field Detail
- 
cause
protected Exception cause
 
 - 
 
- 
Method Detail
- 
getCause
public Throwable getCause()
Returns the causing exception, if available. 
- 
isFatal
public boolean isFatal()
Its always fatal.- Specified by:
 isFatalin interfaceGroovyExceptionInterface
 
- 
setFatal
public void setFatal(boolean fatal)
Set fatal is just ignored.- Specified by:
 setFatalin interfaceGroovyExceptionInterface
 
 - 
 
 -