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
Thrown when configuration data is invalid.
- See Also:
-
Field Summary
-
Constructor Summary
ConstructorDescriptionConfigurationException
(Exception cause) Initializes the exception from a cause exception.ConfigurationException
(String message) Initializes the exception with just a message. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
cause
-
-
Constructor Details
-
ConfigurationException
Initializes the exception from a cause exception. -
ConfigurationException
Initializes the exception with just a message.
-
-
Method Details
-
getCause
Returns the causing exception, if available. -
isFatal
public boolean isFatal()It's always fatal.- Specified by:
isFatal
in interfaceGroovyExceptionInterface
-
setFatal
public void setFatal(boolean fatal) Set fatal is just ignored.- Specified by:
setFatal
in interfaceGroovyExceptionInterface
-