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 SummaryFields Modifier and Type Field Description protected java.lang.Exceptioncause
- 
Constructor SummaryConstructors 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 SummaryMethods inherited from class java.lang.ThrowableaddSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
- 
Field Details- 
causeprotected java.lang.Exception cause
 
- 
- 
Constructor Details- 
ConfigurationExceptionpublic ConfigurationException(java.lang.Exception cause)Initializes the exception from a cause exception.
- 
ConfigurationExceptionpublic ConfigurationException(java.lang.String message)Initializes the exception with just a message.
 
- 
- 
Method Details- 
getCausepublic java.lang.Throwable getCause()Returns the causing exception, if available.- Overrides:
- getCausein class- java.lang.Throwable
 
- 
isFatalpublic boolean isFatal()Its always fatal.- Specified by:
- isFatalin interface- GroovyExceptionInterface
 
- 
setFatalpublic void setFatal(boolean fatal)Set fatal is just ignored.- Specified by:
- setFatalin interface- GroovyExceptionInterface
 
 
-