Class GraalvmScriptExceptionTranslator

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Throwable translate​(javax.script.ScriptException scriptException)
      Translates the ScriptException.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • GraalvmScriptExceptionTranslator

        public GraalvmScriptExceptionTranslator()
    • Method Detail

      • translate

        public java.lang.Throwable translate​(javax.script.ScriptException scriptException)
        Description copied from interface: ScriptExceptionTranslator
        Translates the ScriptException.
        Specified by:
        translate in interface ScriptExceptionTranslator
        Parameters:
        scriptException - ScriptException.
        Returns:
        Translated Throwable or null to throw original ScriptException.