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 Details

  • Constructor Details

    • CompilationFailedException

      public CompilationFailedException​(int phase, ProcessingUnit unit, java.lang.Throwable cause)
    • CompilationFailedException

      public CompilationFailedException​(int phase, ProcessingUnit unit)
  • Method Details

    • getUnit

      public ProcessingUnit getUnit()
      Returns the ProcessingUnit in which the error occurred.