|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.itim.script.ScriptEvaluationError
public class ScriptEvaluationError
The purpose of this class is to communicate to the client the nature of the script evaluaiton error.
ScriptException
,
Serialized FormConstructor Summary | |
---|---|
ScriptEvaluationError()
Default constructor |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ScriptEvaluationError()
Method Detail |
---|
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.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |