GroovyExceptionInterface
public class ConfigurationException extends java.lang.RuntimeException implements GroovyExceptionInterface
Modifier and Type | Field | Description |
---|---|---|
protected java.lang.Exception |
cause |
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.
|
Modifier and Type | Method | Description |
---|---|---|
java.lang.Throwable |
getCause() |
Returns the causing exception, if available.
|
boolean |
isFatal() |
Its always fatal.
|
void |
setFatal(boolean fatal) |
Set fatal is just ignored.
|
public ConfigurationException(java.lang.Exception cause)
public ConfigurationException(java.lang.String message)
public java.lang.Throwable getCause()
getCause
in class java.lang.Throwable
public boolean isFatal()
isFatal
in interface GroovyExceptionInterface
public void setFatal(boolean fatal)
setFatal
in interface GroovyExceptionInterface