[Java] Class CompilationFailedException
- org.codehaus.groovy.control.CompilationFailedException
Thrown when compilation fails from source errors.
- Authors:
- Chris Poirier
Field Summary
Modifiers | Name | Description |
---|---|---|
protected int | phase | |
protected ProcessingUnit | unit |
Constructor Summary
Constructor and description |
---|
CompilationFailedException
(int phase, ProcessingUnit unit, Throwable cause) |
CompilationFailedException
(int phase, ProcessingUnit unit) |
Methods Summary
Type Params | Return Type | Name and description |
---|---|---|
ProcessingUnit |
getUnit() Formats the error data as a String. |
Inherited Methods Summary
Methods inherited from class | Name |
---|---|
class GroovyRuntimeException | getLocationText, getMessage, getMessageWithoutLocationText, getModule, getNode, setModule |
class RuntimeException | printStackTrace, printStackTrace, printStackTrace, fillInStackTrace, getCause, initCause, toString, addSuppressed, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, setStackTrace, wait, wait, wait, equals, hashCode, getClass, notify, notifyAll |
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()
Formats the error data as a String.
© 2003-2020 The Apache Software Foundation
Licensed under the Apache license.
https://docs.groovy-lang.org/2.4.21/html/gapi/org/codehaus/groovy/control/CompilationFailedException.html