Package com.avoka.core.groovy.runtime
Class GroovyScriptException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.avoka.core.groovy.runtime.GroovyScriptException
- All Implemented Interfaces:
Serializable
Provides a Groovy Script execution exception class.
- Since:
- 4.0.0
- See Also:
-
Constructor Summary
ConstructorDescriptionCreate a GroovyScriptException for the given message.GroovyScriptException
(Throwable error, int numberImports) Create a GroovyScriptException for the given cause. -
Method Summary
Modifier and TypeMethodDescriptionReturn the debugging script error for the given Groovy exception.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
GroovyScriptException
Create a GroovyScriptException for the given message.- Parameters:
msg
- the error message- Since:
- 4.2.0
-
GroovyScriptException
Create a GroovyScriptException for the given cause.- Parameters:
error
- the cause of the Groovy runtime errornumberImports
- the number of imports in compiled script
-
-
Method Details
-
getScriptError
Return the debugging script error for the given Groovy exception.- Returns:
- the debugging script error for the given Groovy exception
-