public class ScriptException
extends java.lang.Exception
| Modifier and Type | Field and Description |
|---|---|
static org.apache.log4j.Logger |
log
Used for logging.
|
| Constructor and Description |
|---|
ScriptException(java.lang.Exception bsfException,
java.lang.String scriptName)
Constructs a new
ScriptException based on a BSFException. |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getScriptName()
Gets the name of the script that was being processed when the exception occurred.
|
public ScriptException(@NotNull java.lang.Exception bsfException, @NotNull java.lang.String scriptName)
ScriptException based on a BSFException.bsfException - The Exception.scriptName - The name of the script that was being processed when the exception occurred.@NotNull public java.lang.String getScriptName()