Class LuajExceptionConverter
java.lang.Object
com.randomnoun.common.jessop.engine.LuajExceptionConverter
- All Implemented Interfaces:
JessopExceptionConverter
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiontoScriptException
(ScriptContext scriptContext, Throwable t) Convert runtime exceptions generated by this language's ScriptEngine into ScriptExceptions.
-
Constructor Details
-
LuajExceptionConverter
public LuajExceptionConverter()
-
-
Method Details
-
toScriptException
Description copied from interface:JessopExceptionConverter
Convert runtime exceptions generated by this language's ScriptEngine into ScriptExceptions.(Most languages do this properly already, except for lua).
This is called at runtime, not target script generation time, and should be associated with the target source engine (e.g. rhino), not the target language (e.g. javascript).
- Specified by:
toScriptException
in interfaceJessopExceptionConverter
-