public class CompilationFailedException extends GroovyRuntimeException
| Modifier and Type | Field and Description |
|---|---|
protected int |
phase |
protected ProcessingUnit |
unit |
| Constructor and Description |
|---|
CompilationFailedException(int phase,
ProcessingUnit unit) |
CompilationFailedException(int phase,
ProcessingUnit unit,
Throwable cause) |
| Modifier and Type | Method and Description |
|---|---|
ProcessingUnit |
getUnit()
Returns the ProcessingUnit in which the error occurred.
|
getLocationText, getMessage, getMessageWithoutLocationText, getModule, getNode, setModuleaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringprotected int phase
protected ProcessingUnit unit
public CompilationFailedException(int phase,
ProcessingUnit unit,
Throwable cause)
public CompilationFailedException(int phase,
ProcessingUnit unit)
public ProcessingUnit getUnit()