Package net.officefloor.script.graalvm
Class GraalvmScriptExceptionTranslator
- java.lang.Object
-
- net.officefloor.script.graalvm.GraalvmScriptExceptionTranslator
-
- All Implemented Interfaces:
ScriptExceptionTranslator
public class GraalvmScriptExceptionTranslator extends java.lang.Object implements ScriptExceptionTranslator
ScriptExceptionTranslator
for the GraalVM.- Author:
- Daniel Sagenschneider
-
-
Constructor Summary
Constructors Constructor Description GraalvmScriptExceptionTranslator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Throwable
translate(javax.script.ScriptException scriptException)
Translates theScriptException
.
-
-
-
Method Detail
-
translate
public java.lang.Throwable translate(javax.script.ScriptException scriptException)
Description copied from interface:ScriptExceptionTranslator
Translates theScriptException
.- Specified by:
translate
in interfaceScriptExceptionTranslator
- Parameters:
scriptException
-ScriptException
.- Returns:
- Translated
Throwable
ornull
to throw originalScriptException
.
-
-