[Java] Class CompilationFailedException
- org.codehaus.groovy.control.CompilationFailedException
public class CompilationFailedException extends GroovyRuntimeException
Thrown when compilation fails from source errors.
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 |
---|---|---|
public ProcessingUnit |
getUnit() |
Inherited Methods Summary
Methods inherited from class | Name |
---|---|
class GroovyRuntimeException | getLocationText, getMessage, getMessageWithoutLocationText, getModule, getNode, setModule |
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()
© 2003-2020 The Apache Software Foundation
Licensed under the Apache license.
https://docs.groovy-lang.org/3.0.7/html/gapi/org/codehaus/groovy/control/CompilationFailedException.html