public final class ScriptingException extends DRException
| Constructor and Description |
|---|
ScriptingException(String message,
Throwable cause)
Constructs an exception with the given message and cause.
|
ScriptingException(Throwable cause)
Constructs an exception with the given cause.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getErrorColumnPosition()
Retrieves the column number where the exception was originally thrown in
the script.
|
int |
getErrorLineNumber()
Retrieves the line number where the exception was originally thrown in
the script.
|
String |
getEventName()
Retrieves the stage at which the exception occurred, e.g.
|
String |
getNodeName()
Retrieves the name of the
DataflowNode in which the
scripting exception occurred. |
void |
setErrorColumnPosition(int columnNumber)
Sets the column number where the exception was originally thrown in the
script.
|
void |
setErrorLineNumber(int lineNumber)
Sets the line number where the exception was originally thrown in the
script.
|
void |
setEventName(String eventName)
Sets the stage at which the exception occurred, e.g.
|
void |
setNodeName(String nodeName)
Sets the name of the
DataflowNode in which the scripting
exception occurred. |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic ScriptingException(Throwable cause)
cause - Cause of the exceptionpublic String getNodeName()
DataflowNode in which the
scripting exception occurred.DataflowNodepublic void setNodeName(String nodeName)
DataflowNode in which the scripting
exception occurred.nodeName - Name of the containing DataflowNodepublic String getEventName()
public void setEventName(String eventName)
eventName - Name of the stage at which the exception occurredpublic int getErrorLineNumber()
public void setErrorLineNumber(int lineNumber)
lineNumber - Line number of exception in scriptpublic int getErrorColumnPosition()
public void setErrorColumnPosition(int columnNumber)
columnNumber - Column number of exception in scriptCopyright © 2021 Actian Corporation. All rights reserved.