Package: org.codehaus.groovy

## [Java] Interface GroovyExceptionInterface

-     public interface GroovyExceptionInterface

  An interface for use by all Groovy compiler exceptions. Provides control over exception fatality, indicating whether an exception should halt compilation.

- - ### Methods Summary

    Methods
    Type Params | Return Type | Name and description
    --- | --- | ---
    `` | `public boolean` | `isFatal()` Returns whether this exception is fatal.
    `` | `public void` | `setFatal(boolean fatal)` Sets whether this exception is fatal.

- - ### Method Detail

    - #### public boolean isFatal()

      Returns whether this exception is fatal. A fatal exception typically causes compilation to stop.

      Returns:
        `true` if this exception is fatal; `false` otherwise

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

      Sets whether this exception is fatal. A fatal exception typically causes compilation to stop.

      Parameters:
        `fatal` - `true` to mark this exception as fatal; `false` otherwise