public class ScriptException
extends java.lang.Object
Constructor and Description |
---|
ScriptException(java.lang.Exception exception,
java.lang.String message,
java.lang.String filename,
int lineNumber) |
Modifier and Type | Method and Description |
---|---|
int |
getLine()
Return the exception line number.
|
java.lang.String |
getMessage() |
ScriptWrapper |
getScript()
Return the script wrapper.
|
java.lang.Throwable |
getThrowable() |
void |
setScript(ScriptWrapper script)
Set the script wrapper.
|
public ScriptException(java.lang.Exception exception, java.lang.String message, java.lang.String filename, int lineNumber)
public void setScript(ScriptWrapper script)
script
- the script wrapperpublic ScriptWrapper getScript()
public int getLine()
public java.lang.String getMessage()
public java.lang.Throwable getThrowable()
Copyright © 2021, 2022 Herve Girod. All Rights Reserved. Documentation and source under the BSD 3-Clause licence