public class ScriptEvaluationError extends java.lang.Object implements ExtensionBean, java.io.Serializable
ScriptException,
Serialized Form| Constructor and Description |
|---|
ScriptEvaluationError()
Default constructor
|
| Modifier and Type | Method and Description |
|---|---|
int |
getErrorCode()
Return error code
|
java.lang.String |
getMessage()
Returns a description of the error in a case when script writer chooses
to describe the nature of the error in more detail - i.e.
|
void |
setErrorCode(int errorCode)
Set an evaluation context specific error code.
|
void |
setMessage(java.lang.String errorMessage)
Sets a description of the error in a case when script writer chooses to
describe the nature of the error in more detail - i.e.
|
public int getErrorCode()
public void setErrorCode(int errorCode)
errorCode - int value representing error code, which should be always
greater then 0 and may be specific to the evaluation context.public java.lang.String getMessage()
public void setMessage(java.lang.String errorMessage)
errorMessage - Description of the error set by the script author from within
the script itself.