org.codehaus.groovy.control
Class CompilationFailedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.codehaus.groovy.GroovyException
org.codehaus.groovy.control.CompilationFailedException
- All Implemented Interfaces:
- Serializable, GroovyExceptionInterface
- Direct Known Subclasses:
- MultipleCompilationErrorsException
public class CompilationFailedException
- extends GroovyException
Thrown when compilation fails from source errors.
- Version:
- $Id: CompilationFailedException.java,v 1.4 2005/06/10 09:55:30 cstein Exp $
- Author:
- Chris Poirier
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
phase
protected int phase
unit
protected ProcessingUnit unit
CompilationFailedException
public CompilationFailedException(int phase,
ProcessingUnit unit,
Throwable cause)
CompilationFailedException
public CompilationFailedException(int phase,
ProcessingUnit unit)
getUnit
public ProcessingUnit getUnit()
- Returns the ProcessingUnit in which the error occurred.
Copyright © 2003-2010 The Codehaus. All Rights Reserved.