Thrown when compilation fails from source errors.
| Modifiers | Name | Description | 
|---|---|---|
| protected int | phase | |
| protected ProcessingUnit | unit | 
| Constructor and description | 
|---|
| CompilationFailedException
                                (int phase, ProcessingUnit unit, Throwable cause) | 
| CompilationFailedException
                                (int phase, ProcessingUnit unit) | 
| Type | Name and description | 
|---|---|
| ProcessingUnit | getUnit()Formats the error data as a String. | 
| Methods inherited from class | Name | 
|---|---|
| class GroovyRuntimeException | getLocationText, getMessage, getMessageWithoutLocationText, getModule, getNode, setModule | 
| class RuntimeException | printStackTrace, printStackTrace, printStackTrace, fillInStackTrace, getCause, initCause, toString, getMessage, getLocalizedMessage, getStackTrace, setStackTrace, addSuppressed, getSuppressed, wait, wait, wait, equals, hashCode, getClass, notify, notifyAll | 
Formats the error data as a String.
Copyright © 2003-2016 The Apache Software Foundation. All rights reserved.