Package net.officefloor.script
Interface ScriptExceptionTranslator
-
- All Known Implementing Classes:
GraalvmScriptExceptionTranslator
public interface ScriptExceptionTranslator
Translate
ScriptException
to possible more appropriateThrowable
.For example, the
HttpException
may be wrapped in theScriptException
and this provides means to extract and throw.- Author:
- Daniel Sagenschneider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.Throwable
translate(javax.script.ScriptException scriptException)
Translates theScriptException
.
-