Serializable
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,
Throwable cause) |
Modifier and Type | Method | Description |
---|---|---|
ProcessingUnit |
getUnit() |
Returns the ProcessingUnit in which the error occurred.
|
getLocationText, getMessage, getMessageWithoutLocationText, getModule, getNode, setModule
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
protected int phase
protected ProcessingUnit unit
public CompilationFailedException(int phase, ProcessingUnit unit, Throwable cause)
public CompilationFailedException(int phase, ProcessingUnit unit)
public ProcessingUnit getUnit()