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,
java.lang.Throwable cause) |
Modifier and Type | Method and Description |
---|---|
ProcessingUnit |
getUnit()
Returns the ProcessingUnit in which the error occurred.
|
getLocationText, getMessage, getMessageWithoutLocationText, getModule, getNode, setModule
protected int phase
protected ProcessingUnit unit
public CompilationFailedException(int phase, ProcessingUnit unit, java.lang.Throwable cause)
public CompilationFailedException(int phase, ProcessingUnit unit)
public ProcessingUnit getUnit()