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,- YamlRuntimeException
public class GroovyRuntimeException
extends java.lang.RuntimeException
An 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 SummaryModifier and Type Method Description protected java.lang.StringgetLocationText()java.lang.StringgetMessage()java.lang.StringgetMessageWithoutLocationText()ModuleNodegetModule()ASTNodegetNode()voidsetModule(ModuleNode module)Methods inherited from class java.lang.ThrowableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
- 
Constructor Details- 
GroovyRuntimeExceptionpublic GroovyRuntimeException()
- 
GroovyRuntimeExceptionpublic GroovyRuntimeException(java.lang.String message)
- 
GroovyRuntimeException
- 
GroovyRuntimeExceptionpublic GroovyRuntimeException(java.lang.String message, java.lang.Throwable cause)
- 
GroovyRuntimeExceptionpublic GroovyRuntimeException(java.lang.Throwable t)
 
- 
- 
Method Details- 
setModule
- 
getModule
- 
getMessagepublic java.lang.String getMessage()- Overrides:
- getMessagein class- java.lang.Throwable
 
- 
getNode
- 
getMessageWithoutLocationTextpublic java.lang.String getMessageWithoutLocationText()
- 
getLocationTextprotected java.lang.String getLocationText()
 
-