|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
groovy.lang.GroovyRuntimeException
org.codehaus.groovy.control.CompilationFailedException
public class CompilationFailedException
Thrown when compilation fails from source errors.
| Field Summary | |
|---|---|
protected int |
phase
|
protected ProcessingUnit |
unit
|
| Constructor Summary | |
|---|---|
CompilationFailedException(int phase,
ProcessingUnit unit)
|
|
CompilationFailedException(int phase,
ProcessingUnit unit,
Throwable cause)
|
|
| Method Summary | |
|---|---|
ProcessingUnit |
getUnit()
Returns the ProcessingUnit in which the error occurred. |
| Methods inherited from class groovy.lang.GroovyRuntimeException |
|---|
getLocationText, getMessage, getMessageWithoutLocationText, getModule, getNode, setModule |
| 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 |
| Field Detail |
|---|
protected int phase
protected ProcessingUnit unit
| Constructor Detail |
|---|
public CompilationFailedException(int phase,
ProcessingUnit unit,
Throwable cause)
public CompilationFailedException(int phase,
ProcessingUnit unit)
| Method Detail |
|---|
public ProcessingUnit getUnit()
|
Copyright © 2003-2012 The Codehaus. All rights reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||