S
- the script classpublic class JSScriptException<S> extends AbstractScriptException<S>
message, script, stackTrace
COMPILATION_EXCEPTION, RUNTIME_EXCEPTION
Constructor and Description |
---|
JSScriptException(ScriptWrapper<S> script,
short exceptionType,
java.lang.Throwable throwable,
java.lang.String message,
int lineNumber) |
Modifier and Type | Method and Description |
---|---|
int |
getLineNumber()
Return the exception line number.
|
protected void |
populateStackTrace(boolean filterScriptExceptions)
Populate the StackTrace.
|
addToStrackTrace, getExceptionType, getFilename, getLineNumber, getMessage, getScript, getSource, getStackTrace, getThrowable, setFileName, setScript
public JSScriptException(ScriptWrapper<S> script, short exceptionType, java.lang.Throwable throwable, java.lang.String message, int lineNumber)
public int getLineNumber()
getLineNumber
in interface ScriptException<S>
getLineNumber
in class AbstractScriptException<S>
protected void populateStackTrace(boolean filterScriptExceptions)
AbstractScriptException
populateStackTrace
in class AbstractScriptException<S>
filterScriptExceptions
- filter the script exceptions, if true only those exceptions will be added in
the StackTraceCopyright © 2019-2024 Herve Girod. All Rights Reserved. Documentation and source under the BSD licence