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:
- java.io.Serializable
 - Direct Known Subclasses:
- MultipleCompilationErrorsException
 
 public class CompilationFailedException extends GroovyRuntimeException Thrown when compilation fails from source errors.- See Also:
- Serialized Form
 
- 
- 
Field SummaryFields Modifier and Type Field Description protected intphaseprotected ProcessingUnitunit
 - 
Constructor SummaryConstructors Constructor Description CompilationFailedException(int phase, ProcessingUnit unit)CompilationFailedException(int phase, ProcessingUnit unit, java.lang.Throwable cause)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description ProcessingUnitgetUnit()Returns the ProcessingUnit in which the error occurred.- 
Methods inherited from class groovy.lang.GroovyRuntimeExceptiongetLocationText, getMessage, getMessageWithoutLocationText, getModule, getNode, setModule
 
- 
 
- 
- 
- 
Field Detail- 
phaseprotected int phase 
 - 
unitprotected ProcessingUnit unit 
 
- 
 - 
Constructor Detail- 
CompilationFailedExceptionpublic CompilationFailedException(int phase, ProcessingUnit unit, java.lang.Throwable cause)
 - 
CompilationFailedExceptionpublic CompilationFailedException(int phase, ProcessingUnit unit)
 
- 
 - 
Method Detail- 
getUnitpublic ProcessingUnit getUnit() Returns the ProcessingUnit in which the error occurred.
 
- 
 
-