groovy.lang
Class GroovyRuntimeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
groovy.lang.GroovyRuntimeException
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- BitwiseNegateEvaluatingException, CompilationFailedException, IncorrectClosureArgumentsException, InvokerInvocationException, MissingClassException, MissingFieldException, MissingMethodException, MissingPropertyException, RuntimeParserException, SpreadListEvaluatingException, SpreadMapEvaluatingException
public class GroovyRuntimeException
- extends java.lang.RuntimeException
An exception thrown by the interpreter
- Version:
- $Revision: 2343 $
- Author:
- James Strachan
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
GroovyRuntimeException
public GroovyRuntimeException(java.lang.String message)
GroovyRuntimeException
public GroovyRuntimeException(java.lang.String message,
ASTNode node)
GroovyRuntimeException
public GroovyRuntimeException(java.lang.String message,
java.lang.Throwable cause)
setModule
public void setModule(ModuleNode module)
getModule
public ModuleNode getModule()
getMessage
public java.lang.String getMessage()
- Overrides:
getMessage
in class java.lang.Throwable
getNode
public ASTNode getNode()
getMessageWithoutLocationText
public java.lang.String getMessageWithoutLocationText()
getLocationText
protected java.lang.String getLocationText()
Copyright © 2003-2011 The Codehaus. All Rights Reserved.