[Java] Class ConfigurationException
- org.codehaus.groovy.control.ConfigurationException
- All Implemented Interfaces and Traits:
- GroovyExceptionInterface
public class ConfigurationException extends RuntimeException implements GroovyExceptionInterface
Thrown when configuration data is invalid.
Field Summary
Modifiers | Name | Description |
---|---|---|
protected Exception | cause |
Constructor Summary
Constructor and description |
---|
ConfigurationException
(Exception cause) Initializes the exception from a cause exception. |
ConfigurationException
(String message) Initializes the exception with just a message. |
Methods Summary
Type Params | Return Type | Name and description |
---|---|---|
public Throwable |
getCause() Returns the causing exception, if available. | |
public boolean |
isFatal() Its always fatal. | |
public void |
setFatal(boolean fatal) Set fatal is just ignored. |
Inherited Methods Summary
Methods inherited from class | Name |
---|---|
class RuntimeException | printStackTrace, printStackTrace, printStackTrace, fillInStackTrace, getCause, initCause, toString, getMessage, getSuppressed, getLocalizedMessage, getStackTrace, setStackTrace, addSuppressed, wait, wait, wait, equals, hashCode, getClass, notify, notifyAll |
Field Detail
protected Exception cause
Constructor Detail
public ConfigurationException(Exception cause)
Initializes the exception from a cause exception.
public ConfigurationException(String message)
Initializes the exception with just a message.
Method Detail
public Throwable getCause()
Returns the causing exception, if available.
public boolean isFatal()
Its always fatal.
public void setFatal(boolean fatal)
Set fatal is just ignored.
© 2003-2020 The Apache Software Foundation
Licensed under the Apache license.
https://docs.groovy-lang.org/3.0.7/html/gapi/org/codehaus/groovy/control/ConfigurationException.html