Package 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:
- CacheAccessControlException,- CompilationFailedException,- IncorrectClosureArgumentsException,- InvokerInvocationException,- MethodSelectionException,- MissingClassException,- MissingFieldException,- MissingMethodException,- MissingPropertyException,- RuntimeParserException,- SpreadListEvaluatingException,- SpreadMapEvaluatingException
 
 public class GroovyRuntimeException extends java.lang.RuntimeExceptionAn exception thrown by the interpreter- See Also:
- Serialized Form
 
- 
- 
Constructor SummaryConstructors Constructor Description GroovyRuntimeException()GroovyRuntimeException(java.lang.String message)GroovyRuntimeException(java.lang.String message, java.lang.Throwable cause)GroovyRuntimeException(java.lang.String message, ASTNode node)GroovyRuntimeException(java.lang.Throwable t)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.StringgetLocationText()java.lang.StringgetMessage()java.lang.StringgetMessageWithoutLocationText()ModuleNodegetModule()ASTNodegetNode()voidsetModule(ModuleNode module)
 
- 
- 
- 
Constructor Detail- 
GroovyRuntimeExceptionpublic GroovyRuntimeException() 
 - 
GroovyRuntimeExceptionpublic GroovyRuntimeException(java.lang.String message) 
 - 
GroovyRuntimeExceptionpublic GroovyRuntimeException(java.lang.String message, ASTNode node)
 - 
GroovyRuntimeExceptionpublic GroovyRuntimeException(java.lang.String message, java.lang.Throwable cause)
 - 
GroovyRuntimeExceptionpublic GroovyRuntimeException(java.lang.Throwable t) 
 
- 
 - 
Method Detail- 
setModulepublic void setModule(ModuleNode module) 
 - 
getModulepublic ModuleNode getModule() 
 - 
getMessagepublic java.lang.String getMessage() - Overrides:
- getMessagein class- java.lang.Throwable
 
 - 
getNodepublic ASTNode getNode() 
 - 
getMessageWithoutLocationTextpublic java.lang.String getMessageWithoutLocationText() 
 - 
getLocationTextprotected java.lang.String getLocationText() 
 
- 
 
-