All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.ibm.as400.access.ExtendedIllegalStateException

java.lang.Object
   |
   +----java.lang.Throwable
           |
           +----java.lang.Exception
                   |
                   +----java.lang.RuntimeException
                           |
                           +----java.lang.IllegalStateException
                                   |
                                   +----com.ibm.as400.access.ExtendedIllegalStateException

public class ExtendedIllegalStateException
extends IllegalStateException
implements ReturnCodeException
The ExtendedIllegalStateException class represents an exception that indicates that an object is not in the proper state to perform the requested operation.


Variable Index

 o COMMITMENT_CONTROL_ALREADY_STARTED
The return code indicating that the commitment control has already been started.
 o IMPLEMENTATION_NOT_FOUND
The return code indicating that an AS/400 Toolbox implementation class was not found.
 o 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.
 o OBJECT_CAN_NOT_START_THREADS
The return code indicating that this object is not allowed to start threads.
 o 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.
 o PROPERTY_NOT_CHANGED
The return code indicating that the property cannot be changed.
 o PROPERTY_NOT_SET
The return code indicating that one or more properties have not been set.
 o PROXY_SERVER_ALREADY_STARTED
The return code indicating that the proxy server has already been started.
 o PROXY_SERVER_EVENT_NOT_FIRED
The return code indicating that the proxy server did not fire an event because the listener was not accessible.
 o PROXY_SERVER_NOT_STARTED
The return code indicating that the proxy server has not been started.
 o UNKNOWN
The return code indicating that the exact cause of the failure is not known.

Constructor Index

 o ExtendedIllegalStateException(int)
Constructs an ExtendedIllegalStateException object.
 o ExtendedIllegalStateException(String, int)
Constructs an ExtendedIllegalStateException object.

Method Index

 o getReturnCode()
Returns the return code associated with this exception.

Variables

 o COMMITMENT_CONTROL_ALREADY_STARTED
 public static final int COMMITMENT_CONTROL_ALREADY_STARTED
The return code indicating that the commitment control has already been started.

 o IMPLEMENTATION_NOT_FOUND
 public static final int IMPLEMENTATION_NOT_FOUND
The return code indicating that an AS/400 Toolbox implementation class was not found.

 o OBJECT_CAN_NOT_BE_OPEN
 public static final 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.

 o OBJECT_MUST_BE_OPEN
 public static final 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.

 o PROPERTY_NOT_SET
 public static final int PROPERTY_NOT_SET
The return code indicating that one or more properties have not been set.

 o PROPERTY_NOT_CHANGED
 public static final int PROPERTY_NOT_CHANGED
The return code indicating that the property cannot be changed. This usually results when an object is in a state where the property cannot be changed.

 o PROXY_SERVER_ALREADY_STARTED
 public static final int PROXY_SERVER_ALREADY_STARTED
The return code indicating that the proxy server has already been started.

 o PROXY_SERVER_NOT_STARTED
 public static final int PROXY_SERVER_NOT_STARTED
The return code indicating that the proxy server has not been started.

 o PROXY_SERVER_EVENT_NOT_FIRED
 public static final 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.

 o OBJECT_CAN_NOT_START_THREADS
 public static final int OBJECT_CAN_NOT_START_THREADS
The return code indicating that this object is not allowed to start threads.

 o UNKNOWN
 public static final int UNKNOWN
The return code indicating that the exact cause of the failure is not known. The detailed message may contain additional information.

Constructors

 o ExtendedIllegalStateException
 public ExtendedIllegalStateException(int returnCode)
Constructs an ExtendedIllegalStateException object. It indicates that an object is not in the proper state to perform the requested operation.

Parameters:
returnCode - The return code which identifies the message to be returned.
 o ExtendedIllegalStateException
 public ExtendedIllegalStateException(String property,
                                      int returnCode)
Constructs an ExtendedIllegalStateException object. It indicates that an object is not in the proper state to perform the requested operation.

Parameters:
property - The property that was not set.
returnCode - The return code which identifies the message to be returned.

Methods

 o getReturnCode
 public int getReturnCode()
Returns the return code associated with this exception.

Returns:
The return code.

All Packages  Class Hierarchy  This Package  Previous  Next  Index