Package groovy.lang

Class GroovyRuntimeException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
CacheAccessControlException, CompilationFailedException, IncorrectClosureArgumentsException, InvokerInvocationException, JavaShellCompilationException, MethodSelectionException, MissingClassException, MissingFieldException, MissingMethodException, MissingPropertyException, RuntimeParserException, SpreadListEvaluatingException, SpreadMapEvaluatingException, TomlRuntimeException, TooManyValuesException, YamlRuntimeException

public class GroovyRuntimeException extends RuntimeException
An exception thrown by the interpreter
See Also:
  • Constructor Details

    • GroovyRuntimeException

      public GroovyRuntimeException()
    • GroovyRuntimeException

      public GroovyRuntimeException(String message)
    • GroovyRuntimeException

      public GroovyRuntimeException(String message, ASTNode node)
    • GroovyRuntimeException

      public GroovyRuntimeException(String message, Throwable cause)
    • GroovyRuntimeException

      public GroovyRuntimeException(Throwable t)
  • Method Details

    • setModule

      public void setModule(ModuleNode module)
    • getModule

      public ModuleNode getModule()
    • getMessage

      public String getMessage()
      Overrides:
      getMessage in class Throwable
    • getNode

      public ASTNode getNode()
    • getMessageWithoutLocationText

      public String getMessageWithoutLocationText()
    • getLocationText

      protected String getLocationText()