[Java] Class GroovyRuntimeException

  • groovy.lang.GroovyRuntimeException
public class GroovyRuntimeException
extends RuntimeException

An exception thrown by the interpreter

Constructor Summary

Constructors
Constructor and description
GroovyRuntimeException ()
GroovyRuntimeException (String message)
GroovyRuntimeException (String message, ASTNode node)
GroovyRuntimeException (String message, Throwable cause)
GroovyRuntimeException (Throwable t)

Methods Summary

Methods
Type Params Return Type Name and description
protected String getLocationText()
public String getMessage()
public String getMessageWithoutLocationText()
public ModuleNode getModule()
public ASTNode getNode()
public void setModule(ModuleNode module)

Inherited Methods Summary

Inherited Methods
Methods inherited from class Name
class RuntimeException printStackTrace, printStackTrace, printStackTrace, fillInStackTrace, getCause, initCause, toString, getMessage, getSuppressed, getLocalizedMessage, getStackTrace, setStackTrace, addSuppressed, wait, wait, wait, equals, hashCode, getClass, notify, notifyAll

Constructor Detail

public GroovyRuntimeException()

public GroovyRuntimeException(String message)

public GroovyRuntimeException(String message, ASTNode node)

public GroovyRuntimeException(String message, Throwable cause)

public GroovyRuntimeException(Throwable t)

Method Detail

protected String getLocationText()

public String getMessage()

public String getMessageWithoutLocationText()

public ModuleNode getModule()

public ASTNode getNode()

public void setModule(ModuleNode module)

© 2003-2020 The Apache Software Foundation
Licensed under the Apache license.
https://docs.groovy-lang.org/3.0.7/html/gapi/groovy/lang/GroovyRuntimeException.html