Package groovy.lang
Class GroovyRuntimeException
- java.lang.Object
- 
- java.lang.Throwable
- 
- java.lang.Exception
- 
- java.lang.RuntimeException
- 
- groovy.lang.GroovyRuntimeException
 
 
 
 
- 
- All Implemented Interfaces:
- Serializable
 - Direct Known Subclasses:
- CacheAccessControlException,- CompilationFailedException,- IncorrectClosureArgumentsException,- InvokerInvocationException,- MethodSelectionException,- MissingClassException,- MissingFieldException,- MissingMethodException,- MissingPropertyException,- RuntimeParserException,- SpreadListEvaluatingException,- SpreadMapEvaluatingException,- YamlRuntimeException
 
 public class GroovyRuntimeException extends RuntimeException An exception thrown by the interpreter- See Also:
- Serialized Form
 
- 
- 
Constructor SummaryConstructors Constructor Description GroovyRuntimeException()GroovyRuntimeException(String message)GroovyRuntimeException(String message, Throwable cause)GroovyRuntimeException(String message, ASTNode node)GroovyRuntimeException(Throwable t)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description protected StringgetLocationText()StringgetMessage()StringgetMessageWithoutLocationText()ModuleNodegetModule()ASTNodegetNode()voidsetModule(ModuleNode module)- 
Methods inherited from class java.lang.ThrowableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
- 
 
- 
- 
- 
Method Detail- 
setModulepublic void setModule(ModuleNode module) 
 - 
getModulepublic ModuleNode getModule() 
 - 
getMessagepublic String getMessage() - Overrides:
- getMessagein class- Throwable
 
 - 
getNodepublic ASTNode getNode() 
 - 
getMessageWithoutLocationTextpublic String getMessageWithoutLocationText() 
 - 
getLocationTextprotected String getLocationText() 
 
- 
 
-