public class ExtendedIllegalStateException extends java.lang.IllegalStateException implements ReturnCodeException
Modifier and Type | Field and Description |
---|---|
static int |
COMMITMENT_CONTROL_ALREADY_STARTED
The return code indicating that
the commitment control has already been started.
|
static int |
IMPLEMENTATION_NOT_FOUND
The return code indicating that an IBM Toolbox for Java implementation
class was not found.
|
static int |
INFORMATION_NOT_AVAILABLE
The return code indicating that the requested information
is not available.
|
static int |
LICENSE_CAN_NOT_BE_REQUESTED
The return code indicating that the license can not be
requested.
|
static int |
OBJECT_CAN_NOT_BE_OPEN
The return code indicating that
a request was made that requires the object to
not be open and the object was in an open state.
|
static int |
OBJECT_CAN_NOT_START_THREADS
The return code indicating that this object is not
allowed to start threads.
|
static int |
OBJECT_CANNOT_BE_FOUND
The return code indicating that
a request was made to find an object and that object
was not found.
|
static int |
OBJECT_IS_READ_ONLY
The return code indicating that
a request was made that requires the object to be
writable and the object was in a read-only state.
|
static int |
OBJECT_MUST_BE_OPEN
The return code indicating that
a request was made that requires the object to be
open and the object was not in an open state.
|
static int |
PROPERTY_NOT_CHANGED
The return code indicating that
the property cannot be changed.
|
static int |
PROPERTY_NOT_SET
The return code indicating that
one or more properties have not been set.
|
static int |
PROXY_SERVER_ALREADY_STARTED
The return code indicating that the proxy server has already been
started.
|
static int |
PROXY_SERVER_EVENT_NOT_FIRED
The return code indicating that the proxy server did
not fire an event because the listener was not
accessible.
|
static int |
PROXY_SERVER_NOT_STARTED
The return code indicating that the proxy server has not been
started.
|
static int |
SIGNON_ALREADY_IN_PROGRESS
The return code indicating that a signon is already in progress.
|
static int |
UNKNOWN
The return code indicating that
the exact cause of the failure is not known.
|
Constructor and Description |
---|
ExtendedIllegalStateException(int returnCode)
Constructs an ExtendedIllegalStateException object.
|
ExtendedIllegalStateException(java.lang.String property,
int returnCode)
Constructs an ExtendedIllegalStateException object.
|
Modifier and Type | Method and Description |
---|---|
int |
getReturnCode()
Returns the return code associated with this exception.
|
public static final int COMMITMENT_CONTROL_ALREADY_STARTED
public static final int IMPLEMENTATION_NOT_FOUND
public static final int INFORMATION_NOT_AVAILABLE
public static final int LICENSE_CAN_NOT_BE_REQUESTED
public static final int OBJECT_CANNOT_BE_FOUND
public static final int OBJECT_CAN_NOT_BE_OPEN
public static final int OBJECT_IS_READ_ONLY
public static final int OBJECT_MUST_BE_OPEN
public static final int PROPERTY_NOT_SET
public static final int PROPERTY_NOT_CHANGED
public static final int PROXY_SERVER_ALREADY_STARTED
public static final int PROXY_SERVER_NOT_STARTED
public static final int PROXY_SERVER_EVENT_NOT_FIRED
public static final int OBJECT_CAN_NOT_START_THREADS
public static final int SIGNON_ALREADY_IN_PROGRESS
public static final int UNKNOWN
public ExtendedIllegalStateException(int returnCode)
returnCode
- The return code which identifies the message to be returned.public ExtendedIllegalStateException(java.lang.String property, int returnCode)
property
- The property that was not set.returnCode
- The return code which identifies the message to be returned.public int getReturnCode()
getReturnCode
in interface ReturnCodeException