|
Groovy 2.2.0 | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception java.lang.RuntimeException org.codehaus.groovy.control.ConfigurationException
public class ConfigurationException extends RuntimeException
Thrown when configuration data is invalid.
Field Summary | |
---|---|
protected Exception |
cause
|
Constructor Summary | |
ConfigurationException(Exception cause)
Initializes the exception from a cause exception. |
|
ConfigurationException(String message)
Initializes the exception with just a message. |
Method Summary | |
---|---|
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 RuntimeException | |
---|---|
printStackTrace, printStackTrace, printStackTrace, fillInStackTrace, getCause, initCause, toString, getMessage, getLocalizedMessage, getStackTrace, setStackTrace, addSuppressed, getSuppressed, wait, wait, wait, equals, hashCode, getClass, notify, notifyAll |
Methods inherited from class Exception | |
---|---|
printStackTrace, printStackTrace, printStackTrace, fillInStackTrace, getCause, initCause, toString, getMessage, getLocalizedMessage, getStackTrace, setStackTrace, addSuppressed, getSuppressed, wait, wait, wait, equals, hashCode, getClass, notify, notifyAll |
Field Detail |
---|
protected Exception cause
Constructor Detail |
---|
public ConfigurationException(Exception cause)
public ConfigurationException(String message)
Method Detail |
---|
public Throwable getCause()
public boolean isFatal()
public void setFatal(boolean fatal)
Copyright © 2003-2013 The Codehaus. All rights reserved.