|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
com.ibm.itim.exception.ITIMException
com.ibm.itim.script.ScriptException
public class ScriptException
Represents an exception thrown from a script interpreter. This class supports localization with an interface that allows the specification of a resource bundle message and a set of parameters.
Field Summary | |
---|---|
static java.lang.String |
ENCRYPTION_DECRYPTION_ERROR
Constant representing a message key in a property file. |
static java.lang.String |
EVAL_ERROR
Constant representing a message key in a property file. |
static java.lang.String |
ILLEGAL_STATE_EXCEPTION_DIROBJECT_NULL
Constant representing a message key in a property file. |
static java.lang.String |
INVALID_CONTEXT
Constant representing a message key in a property file. |
static java.lang.String |
INVALID_JSOBJECT
Constant representing a message key in a property file. |
static java.lang.String |
INVALID_SCOPE_VALUE
Constant representing a message key in a property file. |
static java.lang.String |
JAVA_OBJECT_CREATION_ERROR
Constant representing a message key in a property file. |
static java.lang.String |
PROFILE_MISSING
Constant representing a message key in a property file. |
static java.lang.String |
SCOPE_NOT_INT
Constant representing a message key in a property file. |
static java.lang.String |
SCRIPT_OBJECT_CREATION_ERROR
Constant representing a message key in a property file. |
static java.lang.String |
UNSUPPORTED_CONVERSION
Constant representing a message key in a property file. |
static java.lang.String |
USER_TRIGGERED_EVAL_ERROR
Constant representing a message key in a property file. |
Constructor Summary | |
---|---|
ScriptException(java.lang.String msg)
Constructs the exception with a message. |
|
ScriptException(java.lang.String msg,
java.lang.Object[] tokenValues)
Constructs the exception with a message and a list of parameters. |
|
ScriptException(java.lang.String msg,
java.lang.Object[] tokenValues,
java.lang.Throwable throwable)
Constructs the exception with a message and a list of parameters. |
|
ScriptException(java.lang.String msg,
java.lang.Throwable throwable)
Constructs the exception with a message. |
Method Summary | |
---|---|
boolean |
isUserTriggered()
|
void |
setUserTriggered(boolean isUserTriggered)
|
Methods inherited from class com.ibm.itim.exception.ITIMException |
---|
getLocalizedMessage, getMessage, getMessage, getMessageId, getThrowable, getTokens, normalize, printStackTrace, printStackTrace, printStackTrace, toXML |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getStackTrace, initCause, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String EVAL_ERROR
public static final java.lang.String USER_TRIGGERED_EVAL_ERROR
public static final java.lang.String INVALID_JSOBJECT
public static final java.lang.String INVALID_CONTEXT
public static final java.lang.String SCOPE_NOT_INT
public static final java.lang.String INVALID_SCOPE_VALUE
public static final java.lang.String ENCRYPTION_DECRYPTION_ERROR
public static final java.lang.String ILLEGAL_STATE_EXCEPTION_DIROBJECT_NULL
public static final java.lang.String PROFILE_MISSING
public static final java.lang.String SCRIPT_OBJECT_CREATION_ERROR
public static final java.lang.String JAVA_OBJECT_CREATION_ERROR
public static final java.lang.String UNSUPPORTED_CONVERSION
Constructor Detail |
---|
public ScriptException(java.lang.String msg, java.lang.Object[] tokenValues)
msg
- Key to a message in a resource bundle, or a raw display
message summarizing the problem.tokenValues
- Object arrray of parameters to be inserted into the final
localized message.public ScriptException(java.lang.String msg, java.lang.Object[] tokenValues, java.lang.Throwable throwable)
msg
- Key to a message in a resource bundle, or a raw display
message summarizing the problem.tokenValues
- Object arrray of parameters to be inserted into the final
localized message.throwable
- originating exception or error.public ScriptException(java.lang.String msg, java.lang.Throwable throwable)
msg
- Key to a message in a resource bundle, or a raw display
message summarizing the problem.throwable
- originating exception or error.public ScriptException(java.lang.String msg)
msg
- Key to a message in a resource bundle, or a raw display
message summarizing the problem.Method Detail |
---|
public boolean isUserTriggered()
public void setUserTriggered(boolean isUserTriggered)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |