|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
FESI.jslib.JSException
com.ibm.itim.fesiextensions.CustomJSException
public class CustomJSException
Represents an exception thrown from a javascript extension. This class supports localization with an interface that allows the specification of a resource bundle message and a set of parameters.
ScriptException
,
Serialized FormField Summary | |
---|---|
static java.lang.String |
ENCRYPTION_DECRYPTION_ERROR
Deprecated. Constant representing a message key in a property file CTGIMO104E |
static java.lang.String |
ILLEGAL_STATE_EXCEPTION_DIROBJECT_NULL
Deprecated. Constant representing a message key in a property file CTGIMO105E |
static java.lang.String |
INVALID_CONTEXT
Deprecated. Constant representing a message key in a property file CTGIMO107E |
static java.lang.String |
INVALID_JSOBJECT
Deprecated. Constant representing a message key in a property file CTGIMO101E |
static java.lang.String |
INVALID_SCOPE_VALUE
Deprecated. Constant representing a message key in a property file CTGIMO103E |
static java.lang.String |
JAVA_OBJECT_CREATION_ERROR
Deprecated. Constant representing a message key in a property file CTGIMO109E |
static java.lang.String |
PROFILE_MISSING
Deprecated. Constant representing a message key in a property file CTGIMO106E |
static java.lang.String |
SCOPE_NOT_INT
Deprecated. Constant representing a message key in a property file CTGIMO102E |
static java.lang.String |
SCRIPT_OBJECT_CREATION_ERROR
Deprecated. Constant representing a message key in a property file CTGIMO108E |
static java.lang.String |
UNSUPPORTED_CONVERSION
Deprecated. Constant representing a message key in a property file CTGIMO110E |
Constructor Summary | |
---|---|
CustomJSException(java.lang.String msg,
java.lang.Object[] tokenValues)
Deprecated. Constructs the exception with a message and a list of parameters. |
|
CustomJSException(java.lang.String msg,
java.lang.Throwable th)
Deprecated. Constructs the exception with a message and a reference to the originating exception. |
Method Summary | |
---|---|
java.lang.Object[] |
getTokens()
Deprecated. Returns the list of parameters (tokens) used in the final localized message. |
Methods inherited from class FESI.jslib.JSException |
---|
getOriginatingException, printStackTrace, printStackTrace, printStackTrace |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, 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 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 CustomJSException(java.lang.String msg, java.lang.Throwable th)
msg
- Key to a message in a resource bundle, or a raw display
message summarizing the problem.th
- Throwable object that was the root cause of the problem.public CustomJSException(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.Method Detail |
---|
public java.lang.Object[] getTokens()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |