Package 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:
- Serializable
- Direct Known Subclasses:
- MultipleCompilationErrorsException
Thrown when compilation fails from source errors.
- See Also:
- 
Field SummaryFields
- 
Constructor SummaryConstructorsConstructorDescriptionCompilationFailedException(int phase, ProcessingUnit unit) CompilationFailedException(int phase, ProcessingUnit unit, Throwable cause) 
- 
Method SummaryModifier and TypeMethodDescriptiongetUnit()Returns the ProcessingUnit in which the error occurred.Methods inherited from class groovy.lang.GroovyRuntimeExceptiongetLocationText, getMessage, getMessageWithoutLocationText, getModule, getNode, setModuleMethods inherited from class java.lang.ThrowableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
- 
Field Details- 
phaseprotected int phase
- 
unit
 
- 
- 
Constructor Details- 
CompilationFailedException
- 
CompilationFailedException
 
- 
- 
Method Details- 
getUnitReturns the ProcessingUnit in which the error occurred.
 
-