MultipleCompilationErrorsException
public class CompilationFailedException extends GroovyRuntimeException
Modifier and Type | Field | Description |
---|---|---|
protected int |
phase |
|
protected ProcessingUnit |
unit |
Constructor | Description |
---|---|
CompilationFailedException(int phase,
ProcessingUnit unit) |
|
CompilationFailedException(int phase,
ProcessingUnit unit,
java.lang.Throwable cause) |
Modifier and Type | Method | 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()