All Packages Class Hierarchy This Package Previous Next Index
Class com.ibm.workflow.api.FmcException
java.lang.Object
|
+----java.lang.Throwable
|
+----java.lang.Exception
|
+----com.ibm.workflow.api.FmcException
- public final class FmcException
- extends Exception
- implements Serializable
An instance of this class is thrown if an API error or a communication error occurs. In the former case, the public
member rc contains the API error code which will be one of the constants listed below. In the latter case,
rc will be set to FMC_ERROR_COMMUNICATION and the public member nestedException will be set to either
the CORBA or RMI exception that occured.
Remark: The nested exception can be inspected by (down-)casting to either org.omg.CORBA.SystemException
or to java.rmi.RemoteException depending on the used communication protocol. However, doing so will make the client
code protocol-dependent (unless it deals with both cases). Note that when using local bindings the nested exception will
always be null.
- Version:
- 3.2.0.2
-
FMC_ERROR
-
-
FMC_ERROR_ALREADY_LOGGED_ON
-
-
FMC_ERROR_ALREADY_STARTED
-
-
FMC_ERROR_BACK_LEVEL_VERSION
-
-
FMC_ERROR_BUFFER
-
-
FMC_ERROR_CHECKOUT_NOT_POSSIBLE
-
-
FMC_ERROR_COMMUNICATION
-
-
FMC_ERROR_DOES_NOT_EXIST
-
-
FMC_ERROR_EMPTY
-
-
FMC_ERROR_FORMAT
-
-
FMC_ERROR_INTERNAL
-
-
FMC_ERROR_INVALID_ABSENCE_SPEC
-
-
FMC_ERROR_INVALID_ACTIVITY
-
-
FMC_ERROR_INVALID_CONFIGURATION_ID
-
-
FMC_ERROR_INVALID_CORRELATION_ID
-
-
FMC_ERROR_INVALID_DESCRIPTION
-
-
FMC_ERROR_INVALID_FILTER
-
-
FMC_ERROR_INVALID_HANDLE
-
-
FMC_ERROR_INVALID_IMPLEMENTATION_TYPE
-
-
FMC_ERROR_INVALID_LIST_TYPE
-
-
FMC_ERROR_INVALID_NAME
-
-
FMC_ERROR_INVALID_OID
-
-
FMC_ERROR_INVALID_PES
-
-
FMC_ERROR_INVALID_PES_FROM_MODEL
-
-
FMC_ERROR_INVALID_PROGRAMID
-
-
FMC_ERROR_INVALID_QUEUE_SCOPE
-
-
FMC_ERROR_INVALID_RESULT_HANDLE
-
-
FMC_ERROR_INVALID_SESSION
-
-
FMC_ERROR_INVALID_SESSION_MODE
-
-
FMC_ERROR_INVALID_SORT
-
-
FMC_ERROR_INVALID_SPECIFICATION
-
-
FMC_ERROR_INVALID_SYSTEM_FROM_CTNR
-
-
FMC_ERROR_INVALID_SYSTEM_FROM_MODEL
-
-
FMC_ERROR_INVALID_THRESHOLD
-
-
FMC_ERROR_INVALID_TIME
-
-
FMC_ERROR_INVALID_TOOL
-
-
FMC_ERROR_INVALID_USER
-
-
FMC_ERROR_INVALID_USER_CONTEXT
-
-
FMC_ERROR_MEMBER_CANNOT_BE_SET
-
-
FMC_ERROR_MEMBER_INVALID
-
-
FMC_ERROR_MEMBER_NOT_FOUND
-
-
FMC_ERROR_MEMBER_NOT_SET
-
-
FMC_ERROR_MESSAGE_CATALOG
-
-
FMC_ERROR_MESSAGE_DATA
-
-
FMC_ERROR_MESSAGE_FORMAT
-
-
FMC_ERROR_MIGRATION_NO_SUBPROCESS
-
-
FMC_ERROR_MIGRATION_OF_CHECKEDOUT_SUSPENDED
-
-
FMC_ERROR_MIGRATION_OF_RUNNING_PROGRAM
-
-
FMC_ERROR_NEW_OWNER_ABSENT
-
-
FMC_ERROR_NEW_OWNER_NOT_FOUND
-
-
FMC_ERROR_NEWER_VERSION
-
-
FMC_ERROR_NO_CTNR_ACCESS
-
-
FMC_ERROR_NO_MANUAL_EXIT
-
-
FMC_ERROR_NO_MORE_DATA
-
-
FMC_ERROR_NO_OLD_OWNER
-
-
FMC_ERROR_NO_PEA_FOUND_FOR_AUTO_START
-
-
FMC_ERROR_NO_SYS_ADMIN
-
-
FMC_ERROR_NO_VERSION_2_FILTER
-
-
FMC_ERROR_NON_LOCAL_USER
-
-
FMC_ERROR_NOT_ALLOWED
-
-
FMC_ERROR_NOT_AUTHORIZED
-
-
FMC_ERROR_NOT_EMPTY
-
-
FMC_ERROR_NOT_LOGGED_ON
-
-
FMC_ERROR_NOT_SUPPORTED
-
-
FMC_ERROR_NOT_UNIQUE
-
-
FMC_ERROR_OLD_OWNER_ABSENT
-
-
FMC_ERROR_OWNER_ALREADY_ASSIGNED
-
-
FMC_ERROR_OWNER_NOT_FOUND
-
-
FMC_ERROR_PASSWORD
-
-
FMC_ERROR_PEA_NOT_LOCAL
-
-
FMC_ERROR_PEA_NOT_LOGGED_ON
-
-
FMC_ERROR_PEA_NOT_RUNNING
-
-
FMC_ERROR_PROFILE
-
-
FMC_ERROR_PROGRAM_EXECUTION
-
-
FMC_ERROR_PROGRAM_NOT_DEFINED
-
-
FMC_ERROR_PROGRAM_UNDEFINED
-
-
FMC_ERROR_PROTOCOL
-
-
FMC_ERROR_QRY_RESULT_TOO_LARGE
-
-
FMC_ERROR_RESOURCE
-
-
FMC_ERROR_SERVER
-
-
FMC_ERROR_SIZE_EXCEEDED
-
-
FMC_ERROR_SUB_PROC_TERMINATED_BY_ERROR
-
-
FMC_ERROR_TIMEOUT
-
-
FMC_ERROR_TOOL_FUNCTION
-
-
FMC_ERROR_UNKNOWN
-
-
FMC_ERROR_USERID_UNKNOWN
-
-
FMC_ERROR_WRONG_ACT_IMPL_KIND
-
-
FMC_ERROR_WRONG_KIND
-
-
FMC_ERROR_WRONG_STATE
-
-
FMC_ERROR_WRONG_TYPE
-
-
messageText
- The NLS text string describing the API error.
-
nestedException
- The exception thrown by the communication layer.
-
origin
- The string describing the source code location where the API error occurred.
-
parameters
- The string array holding the parameters which were passed when the API error occurred.
-
rc
- The API error return code.
-
FmcException()
- Used internally to construct an exception.
-
FmcException(FmcException)
- Used internally to construct an exception.
-
FmcException(FmcException)
- Used internally to construct an exception.
-
FmcException(FmcException)
- Used internally to construct an exception.
-
FmcException(int, String, String[], String)
- Used internally to construct an exception.
-
FmcException(RemoteException)
- Used internally to construct an exception.
-
FmcException(SystemException)
- Used internally to construct an exception.
-
getMessage()
- Returns a description of the exception.
rc
public int rc
- The API error return code. This numeric value is one of the FMC_ERROR_... constants.
origin
public String origin
- The string describing the source code location where the API error occurred.
parameters
public String parameters[]
- The string array holding the parameters which were passed when the API error occurred.
messageText
public String messageText
- The NLS text string describing the API error.
nestedException
public Throwable nestedException
- The exception thrown by the communication layer.
FMC_ERROR
public static final int FMC_ERROR
FMC_ERROR_USERID_UNKNOWN
public static final int FMC_ERROR_USERID_UNKNOWN
FMC_ERROR_ALREADY_LOGGED_ON
public static final int FMC_ERROR_ALREADY_LOGGED_ON
FMC_ERROR_PASSWORD
public static final int FMC_ERROR_PASSWORD
FMC_ERROR_COMMUNICATION
public static final int FMC_ERROR_COMMUNICATION
FMC_ERROR_TIMEOUT
public static final int FMC_ERROR_TIMEOUT
FMC_ERROR_INTERNAL
public static final int FMC_ERROR_INTERNAL
FMC_ERROR_SERVER
public static final int FMC_ERROR_SERVER
FMC_ERROR_UNKNOWN
public static final int FMC_ERROR_UNKNOWN
FMC_ERROR_MESSAGE_FORMAT
public static final int FMC_ERROR_MESSAGE_FORMAT
FMC_ERROR_MESSAGE_DATA
public static final int FMC_ERROR_MESSAGE_DATA
FMC_ERROR_RESOURCE
public static final int FMC_ERROR_RESOURCE
FMC_ERROR_NOT_LOGGED_ON
public static final int FMC_ERROR_NOT_LOGGED_ON
FMC_ERROR_NEW_OWNER_NOT_FOUND
public static final int FMC_ERROR_NEW_OWNER_NOT_FOUND
FMC_ERROR_NO_OLD_OWNER
public static final int FMC_ERROR_NO_OLD_OWNER
FMC_ERROR_OLD_OWNER_ABSENT
public static final int FMC_ERROR_OLD_OWNER_ABSENT
FMC_ERROR_NEW_OWNER_ABSENT
public static final int FMC_ERROR_NEW_OWNER_ABSENT
FMC_ERROR_ALREADY_STARTED
public static final int FMC_ERROR_ALREADY_STARTED
FMC_ERROR_MEMBER_NOT_FOUND
public static final int FMC_ERROR_MEMBER_NOT_FOUND
FMC_ERROR_MEMBER_NOT_SET
public static final int FMC_ERROR_MEMBER_NOT_SET
FMC_ERROR_WRONG_TYPE
public static final int FMC_ERROR_WRONG_TYPE
FMC_ERROR_MEMBER_CANNOT_BE_SET
public static final int FMC_ERROR_MEMBER_CANNOT_BE_SET
FMC_ERROR_MEMBER_INVALID
public static final int FMC_ERROR_MEMBER_INVALID
FMC_ERROR_FORMAT
public static final int FMC_ERROR_FORMAT
FMC_ERROR_DOES_NOT_EXIST
public static final int FMC_ERROR_DOES_NOT_EXIST
FMC_ERROR_NOT_AUTHORIZED
public static final int FMC_ERROR_NOT_AUTHORIZED
FMC_ERROR_WRONG_STATE
public static final int FMC_ERROR_WRONG_STATE
FMC_ERROR_NOT_UNIQUE
public static final int FMC_ERROR_NOT_UNIQUE
FMC_ERROR_EMPTY
public static final int FMC_ERROR_EMPTY
FMC_ERROR_NO_MANUAL_EXIT
public static final int FMC_ERROR_NO_MANUAL_EXIT
FMC_ERROR_PROFILE
public static final int FMC_ERROR_PROFILE
FMC_ERROR_INVALID_FILTER
public static final int FMC_ERROR_INVALID_FILTER
FMC_ERROR_PROGRAM_EXECUTION
public static final int FMC_ERROR_PROGRAM_EXECUTION
FMC_ERROR_PROTOCOL
public static final int FMC_ERROR_PROTOCOL
FMC_ERROR_TOOL_FUNCTION
public static final int FMC_ERROR_TOOL_FUNCTION
FMC_ERROR_INVALID_TOOL
public static final int FMC_ERROR_INVALID_TOOL
FMC_ERROR_INVALID_HANDLE
public static final int FMC_ERROR_INVALID_HANDLE
FMC_ERROR_NOT_EMPTY
public static final int FMC_ERROR_NOT_EMPTY
FMC_ERROR_INVALID_USER
public static final int FMC_ERROR_INVALID_USER
FMC_ERROR_OWNER_ALREADY_ASSIGNED
public static final int FMC_ERROR_OWNER_ALREADY_ASSIGNED
FMC_ERROR_INVALID_NAME
public static final int FMC_ERROR_INVALID_NAME
FMC_ERROR_INVALID_PROGRAMID
public static final int FMC_ERROR_INVALID_PROGRAMID
FMC_ERROR_SIZE_EXCEEDED
public static final int FMC_ERROR_SIZE_EXCEEDED
FMC_ERROR_WRONG_ACT_IMPL_KIND
public static final int FMC_ERROR_WRONG_ACT_IMPL_KIND
FMC_ERROR_NON_LOCAL_USER
public static final int FMC_ERROR_NON_LOCAL_USER
FMC_ERROR_WRONG_KIND
public static final int FMC_ERROR_WRONG_KIND
FMC_ERROR_INVALID_ACTIVITY
public static final int FMC_ERROR_INVALID_ACTIVITY
FMC_ERROR_CHECKOUT_NOT_POSSIBLE
public static final int FMC_ERROR_CHECKOUT_NOT_POSSIBLE
FMC_ERROR_BACK_LEVEL_VERSION
public static final int FMC_ERROR_BACK_LEVEL_VERSION
FMC_ERROR_NEWER_VERSION
public static final int FMC_ERROR_NEWER_VERSION
FMC_ERROR_INVALID_CORRELATION_ID
public static final int FMC_ERROR_INVALID_CORRELATION_ID
FMC_ERROR_NOT_ALLOWED
public static final int FMC_ERROR_NOT_ALLOWED
FMC_ERROR_BUFFER
public static final int FMC_ERROR_BUFFER
FMC_ERROR_INVALID_SESSION
public static final int FMC_ERROR_INVALID_SESSION
FMC_ERROR_INVALID_TIME
public static final int FMC_ERROR_INVALID_TIME
FMC_ERROR_NO_MORE_DATA
public static final int FMC_ERROR_NO_MORE_DATA
FMC_ERROR_INVALID_OID
public static final int FMC_ERROR_INVALID_OID
FMC_ERROR_INVALID_THRESHOLD
public static final int FMC_ERROR_INVALID_THRESHOLD
FMC_ERROR_INVALID_SORT
public static final int FMC_ERROR_INVALID_SORT
FMC_ERROR_INVALID_DESCRIPTION
public static final int FMC_ERROR_INVALID_DESCRIPTION
FMC_ERROR_INVALID_IMPLEMENTATION_TYPE
public static final int FMC_ERROR_INVALID_IMPLEMENTATION_TYPE
FMC_ERROR_OWNER_NOT_FOUND
public static final int FMC_ERROR_OWNER_NOT_FOUND
FMC_ERROR_INVALID_LIST_TYPE
public static final int FMC_ERROR_INVALID_LIST_TYPE
FMC_ERROR_INVALID_RESULT_HANDLE
public static final int FMC_ERROR_INVALID_RESULT_HANDLE
FMC_ERROR_MESSAGE_CATALOG
public static final int FMC_ERROR_MESSAGE_CATALOG
FMC_ERROR_INVALID_SPECIFICATION
public static final int FMC_ERROR_INVALID_SPECIFICATION
FMC_ERROR_QRY_RESULT_TOO_LARGE
public static final int FMC_ERROR_QRY_RESULT_TOO_LARGE
FMC_ERROR_NO_VERSION_2_FILTER
public static final int FMC_ERROR_NO_VERSION_2_FILTER
FMC_ERROR_INVALID_USER_CONTEXT
public static final int FMC_ERROR_INVALID_USER_CONTEXT
FMC_ERROR_NO_SYS_ADMIN
public static final int FMC_ERROR_NO_SYS_ADMIN
FMC_ERROR_INVALID_SESSION_MODE
public static final int FMC_ERROR_INVALID_SESSION_MODE
FMC_ERROR_PROGRAM_UNDEFINED
public static final int FMC_ERROR_PROGRAM_UNDEFINED
FMC_ERROR_PEA_NOT_RUNNING
public static final int FMC_ERROR_PEA_NOT_RUNNING
FMC_ERROR_PEA_NOT_LOCAL
public static final int FMC_ERROR_PEA_NOT_LOCAL
FMC_ERROR_INVALID_ABSENCE_SPEC
public static final int FMC_ERROR_INVALID_ABSENCE_SPEC
FMC_ERROR_NOT_SUPPORTED
public static final int FMC_ERROR_NOT_SUPPORTED
FMC_ERROR_PROGRAM_NOT_DEFINED
public static final int FMC_ERROR_PROGRAM_NOT_DEFINED
FMC_ERROR_PEA_NOT_LOGGED_ON
public static final int FMC_ERROR_PEA_NOT_LOGGED_ON
FMC_ERROR_INVALID_PES
public static final int FMC_ERROR_INVALID_PES
FMC_ERROR_INVALID_PES_FROM_MODEL
public static final int FMC_ERROR_INVALID_PES_FROM_MODEL
FMC_ERROR_INVALID_SYSTEM_FROM_CTNR
public static final int FMC_ERROR_INVALID_SYSTEM_FROM_CTNR
FMC_ERROR_INVALID_SYSTEM_FROM_MODEL
public static final int FMC_ERROR_INVALID_SYSTEM_FROM_MODEL
FMC_ERROR_SUB_PROC_TERMINATED_BY_ERROR
public static final int FMC_ERROR_SUB_PROC_TERMINATED_BY_ERROR
FMC_ERROR_NO_PEA_FOUND_FOR_AUTO_START
public static final int FMC_ERROR_NO_PEA_FOUND_FOR_AUTO_START
FMC_ERROR_NO_CTNR_ACCESS
public static final int FMC_ERROR_NO_CTNR_ACCESS
FMC_ERROR_INVALID_CONFIGURATION_ID
public static final int FMC_ERROR_INVALID_CONFIGURATION_ID
FMC_ERROR_MIGRATION_OF_RUNNING_PROGRAM
public static final int FMC_ERROR_MIGRATION_OF_RUNNING_PROGRAM
FMC_ERROR_MIGRATION_OF_CHECKEDOUT_SUSPENDED
public static final int FMC_ERROR_MIGRATION_OF_CHECKEDOUT_SUSPENDED
FMC_ERROR_MIGRATION_NO_SUBPROCESS
public static final int FMC_ERROR_MIGRATION_NO_SUBPROCESS
FMC_ERROR_INVALID_QUEUE_SCOPE
public static final int FMC_ERROR_INVALID_QUEUE_SCOPE
FmcException
public FmcException()
- Used internally to construct an exception.
FmcException
public FmcException(int rc,
String origin,
String parameters[],
String messageText)
- Used internally to construct an exception.
- Parameters:
- rc
- the API return code
- origin
- the string describing the source code location where the API error occurred
- parameters
- the string array holding the parameters which were passed when the API error occurred
- messageText
- the NLS text describing the API error
FmcException
public FmcException(FmcException ce)
- Used internally to construct an exception.
- Parameters:
- ce
- the CORBA exception
FmcException
public FmcException(FmcException le)
- Used internally to construct an exception.
- Parameters:
- le
- the local exception
FmcException
public FmcException(FmcException re)
- Used internally to construct an exception.
- Parameters:
- re
- the Java RMI remote exception
FmcException
public FmcException(SystemException se)
- Used internally to construct an exception.
- Parameters:
- se
- the CORBA system exception
FmcException
public FmcException(RemoteException re)
- Used internally to construct an exception.
- Parameters:
- re
- the Java RMI remote exception
getMessage
public String getMessage()
- Returns a description of the exception.
- Returns:
- the description string
- Overrides:
- getMessage in class Throwable
All Packages Class Hierarchy This Package Previous Next Index