Class GroovyScriptException

    • Constructor Detail

      • GroovyScriptException

        public GroovyScriptException​(String msg)
        Create a GroovyScriptException for the given message.
        Parameters:
        msg - the error message
        Since:
        4.2.0
      • GroovyScriptException

        public GroovyScriptException​(Throwable error,
                                     int numberImports)
        Create a GroovyScriptException for the given cause.
        Parameters:
        error - the cause of the Groovy runtime error
        numberImports - the number of imports in compiled script
    • Method Detail

      • getScriptError

        public String getScriptError()
        Return the debugging script error for the given Groovy exception.
        Returns:
        the debugging script error for the given Groovy exception