Class CompilationFailedException

All Implemented Interfaces:
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, Throwable cause)
    • CompilationFailedException

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

    • getUnit

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