org.codehaus.groovy.control
Class CompilationFailedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
groovy.lang.GroovyRuntimeException
org.codehaus.groovy.control.CompilationFailedException
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- MultipleCompilationErrorsException
public class CompilationFailedException
- extends GroovyRuntimeException
Thrown when compilation fails from source errors.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
phase
protected int phase
unit
protected ProcessingUnit unit
CompilationFailedException
public CompilationFailedException(int phase,
ProcessingUnit unit,
java.lang.Throwable cause)
CompilationFailedException
public CompilationFailedException(int phase,
ProcessingUnit unit)
getUnit
public ProcessingUnit getUnit()
- Returns the ProcessingUnit in which the error occurred.