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 |
class RuntimeException |
printStackTrace, printStackTrace, printStackTrace, fillInStackTrace, getCause, initCause, toString, addSuppressed, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, setStackTrace, wait, wait, wait, equals, hashCode, getClass, notify, notifyAll |
Formats the error data as a String.
Copyright © 2003-2017 The Apache Software Foundation. All rights reserved.