Top Description Fields Constructors Methods
groovy.lang

public Class GroovyRuntimeException

extends RuntimeException
Class Inheritance
Known Direct Subclasses
groovy.lang.IncorrectClosureArgumentsException, groovy.lang.MissingClassException, groovy.lang.MissingFieldException, groovy.lang.MissingMethodException, groovy.lang.MissingPropertyException, groovy.lang.SpreadListEvaluatingException, groovy.lang.SpreadMapEvaluatingException, org.codehaus.groovy.control.CompilationFailedException, org.codehaus.groovy.reflection.CacheAccessControlException, org.codehaus.groovy.runtime.InvokerInvocationException, org.codehaus.groovy.runtime.metaclass.MethodSelectionException, org.codehaus.groovy.syntax.RuntimeParserException
Imports
org.codehaus.groovy.ast.ASTNode, .ModuleNode

An exception thrown by the interpreter

Field Summary

Modifier and TypeField and Description
private ModuleNode
private ASTNode
private static final long

Constructor Summary

AccessConstructor and Description
public
public
public
public
public

Method Summary

Modifier and TypeMethod and Description
protected String
public String
getMessage()

Overrides java.lang.Throwable.getMessage.

Returns the detail message string of this throwable.
public String
public ModuleNode
public ASTNode
public void

Field Detail

moduleback to summary
private ModuleNode module
nodeback to summary
private ASTNode node
serialVersionUIDback to summary
private static final long serialVersionUID

Hides java.lang.RuntimeException.serialVersionUID.

Constructor Detail

GroovyRuntimeExceptionback to summary
public GroovyRuntimeException()
GroovyRuntimeExceptionback to summary
public GroovyRuntimeException(String message)
GroovyRuntimeExceptionback to summary
public GroovyRuntimeException(String message, ASTNode node)
GroovyRuntimeExceptionback to summary
public GroovyRuntimeException(String message, Throwable cause)
GroovyRuntimeExceptionback to summary
public GroovyRuntimeException(Throwable t)

Method Detail

getLocationTextback to summary
protected String getLocationText()
getMessageback to summary
public String getMessage()

Overrides java.lang.Throwable.getMessage.

Doc from java.lang.Throwable.getMessage.

Returns the detail message string of this throwable.

Returns:String

the detail message string of this Throwable instance (which may be null).

getMessageWithoutLocationTextback to summary
public String getMessageWithoutLocationText()
getModuleback to summary
public ModuleNode getModule()
getNodeback to summary
public ASTNode getNode()
setModuleback to summary
public void setModule(ModuleNode module)