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 Params | Return 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 | 
Formats the error data as a String.
Copyright © 2003-2021 The Apache Software Foundation. All rights reserved.