Package: org.codehaus.groovy.control

## [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

    Fields
    Modifiers | Name | Description
    --- | --- | ---
    `protected Exception` | `cause` |

  - ### Constructor Summary

    Constructors
    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

    Methods
    Type Params | Return Type | Name and description
    --- | --- | ---
    `` | `public Throwable` | `getCause()` Returns the causing exception, if available.
    `` | `public boolean` | `isFatal()` It's always fatal.
    `` | `public void` | `setFatal(boolean fatal)` Set fatal is just ignored.

  - ### Inherited Methods Summary

    Inherited Methods
    Methods inherited from class | Name
    --- | ---
    `class RuntimeException` | `printStackTrace, printStackTrace, printStackTrace, getStackTrace, fillInStackTrace, getCause, initCause, toString, getMessage, getSuppressed, getLocalizedMessage, 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

    - #### @Override
      public Throwable getCause()

      Returns the causing exception, if available.

    - #### @Override
      public boolean isFatal()

      It's always fatal.

    - #### @Override
      public void setFatal(boolean fatal)

      Set fatal is just ignored.