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:
java.io.Serializable,GroovyExceptionInterface
public class ConfigurationException extends java.lang.RuntimeException implements GroovyExceptionInterface
Thrown when configuration data is invalid.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.Exceptioncause
-
Constructor Summary
Constructors Constructor Description 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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.ThrowablegetCause()Returns the causing exception, if available.booleanisFatal()Its always fatal.voidsetFatal(boolean fatal)Set fatal is just ignored.
-
-
-
Method Detail
-
getCause
public java.lang.Throwable getCause()
Returns the causing exception, if available.- Overrides:
getCausein classjava.lang.Throwable
-
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
-
-