com.ibm.workflow.api
Class FmcException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--com.ibm.workflow.api.FmcException
- All Implemented Interfaces:
- java.io.Serializable
- public class FmcException
- extends java.lang.Exception
- implements java.io.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 the
RMI-IIOP exception that occurred.
- See Also:
- Serialized Form
Constructor Summary |
FmcException()
Used internally to construct an exception. |
FmcException(FmcException le)
Used internally to construct an exception. |
FmcException(int rc,
java.lang.String origin,
java.lang.String[] parameters,
java.lang.String messageText)
Used internally to construct an exception. |
FmcException(javax.naming.NamingException ne)
Used internally to construct an exception. |
FmcException(java.lang.Throwable t)
Used internally to construct an exception. |
Method Summary |
java.lang.String |
getMessage()
Returns a description of the exception. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getLocalizedMessage, printStackTrace, printStackTrace, printStackTrace, toString |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
rc
public int rc
- The API error return code. This numeric value is one of the FMC_ERROR_... constants.
origin
public java.lang.String origin
- The string describing the source code location where the API error occurred.
parameters
public java.lang.String[] parameters
- The string array holding the parameters which were passed when the API error occurred.
messageText
public java.lang.String messageText
- The NLS text string describing the API error.
nestedException
public java.lang.Throwable nestedException
- The exception thrown by the communication layer.
cat
public static final com.ibm.workflow.catalog.Catalog cat
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_INVALID_CODE_PAGE
public static final int FMC_ERROR_INVALID_CODE_PAGE
FMC_ERROR_INVALID_CHAR
public static final int FMC_ERROR_INVALID_CHAR
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_INVALID_TEMPLATE_NAME
public static final int FMC_ERROR_INVALID_TEMPLATE_NAME
FMC_ERROR_INFINITE_RECURSION
public static final int FMC_ERROR_INFINITE_RECURSION
FMC_ERROR_SUB_PROC_MEMBER_NOT_SET
public static final int FMC_ERROR_SUB_PROC_MEMBER_NOT_SET
FMC_ERROR_PROCESS_TEMPLATE_NOT_FOUND
public static final int FMC_ERROR_PROCESS_TEMPLATE_NOT_FOUND
FMC_ERROR_DYNAMIC_QUERY_SIZE_TOO_LONG
public static final int FMC_ERROR_DYNAMIC_QUERY_SIZE_TOO_LONG
FMC_ERROR_PROFILE_NOT_FOUND
public static final int FMC_ERROR_PROFILE_NOT_FOUND
FMC_ERROR_PROFILE_VALUE_NOT_FOUND
public static final int FMC_ERROR_PROFILE_VALUE_NOT_FOUND
FMC_ERROR_INVALID_SYNTAX
public static final int FMC_ERROR_INVALID_SYNTAX
FMC_ERROR_PROFILE_ACCESS
public static final int FMC_ERROR_PROFILE_ACCESS
FMC_ERROR_UPDATE_LOCK
public static final int FMC_ERROR_UPDATE_LOCK
FMC_ERROR_STAFF_SQL_EXCEPTION
public static final int FMC_ERROR_STAFF_SQL_EXCEPTION
FMC_ERROR_SESSION_EXISTS
public static final int FMC_ERROR_SESSION_EXISTS
FMC_ERROR_SESSION_EXPIRED
public static final int FMC_ERROR_SESSION_EXPIRED
FMC_ERROR_PERSON_DELETE
public static final int FMC_ERROR_PERSON_DELETE
FMC_ERROR_INVALID_CREDENTIALS
public static final int FMC_ERROR_INVALID_CREDENTIALS
FMC_ERROR_INVALID_MANDATORY_VALUE
public static final int FMC_ERROR_INVALID_MANDATORY_VALUE
FMC_ERROR_CATEGORY_DELETE
public static final int FMC_ERROR_CATEGORY_DELETE
FMC_ERROR_ADMIN_ADD
public static final int FMC_ERROR_ADMIN_ADD
FMC_ERROR_ADMIN_DELETE
public static final int FMC_ERROR_ADMIN_DELETE
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_BACK_LEVEL_OBJECT
public static final int FMC_ERROR_BACK_LEVEL_OBJECT
FMC_ERROR_INVALID_CONTAINER
public static final int FMC_ERROR_INVALID_CONTAINER
FMC_ERROR_UNEXPECTED_CONTAINER
public static final int FMC_ERROR_UNEXPECTED_CONTAINER
FMC_ERROR_NO_PROGRAM_FOR_PLATFORM
public static final int FMC_ERROR_NO_PROGRAM_FOR_PLATFORM
FMC_ERROR_LOGON_DENIED
public static final int FMC_ERROR_LOGON_DENIED
FMC_ERROR_AUTHENTICATION
public static final int FMC_ERROR_AUTHENTICATION
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_MESSAGE_STRING
public static final int FMC_ERROR_MESSAGE_STRING
FMC_ERROR_MESSAGE_SIZE_EXCEEDED
public static final int FMC_ERROR_MESSAGE_SIZE_EXCEEDED
FMC_ERROR_INVALID_STREAM
public static final int FMC_ERROR_INVALID_STREAM
FMC_ERROR_INVALID_PROCESS_CONTEXT
public static final int FMC_ERROR_INVALID_PROCESS_CONTEXT
FMC_ERROR_NO_GLOBAL_CONTAINER
public static final int FMC_ERROR_NO_GLOBAL_CONTAINER
FMC_ERROR_GLOBAL_CONTAINER_MEMBER_NOT_FOUND
public static final int FMC_ERROR_GLOBAL_CONTAINER_MEMBER_NOT_FOUND
FMC_ERROR_INVALID_COMPARISON_VALUE
public static final int FMC_ERROR_INVALID_COMPARISON_VALUE
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_XML_DOCUMENT_INVALID
public static final int FMC_ERROR_XML_DOCUMENT_INVALID
FMC_ERROR_XML_NO_MQSWF_DOCUMENT
public static final int FMC_ERROR_XML_NO_MQSWF_DOCUMENT
FMC_ERROR_XML_MESSAGE_NOT_SUPPORTED
public static final int FMC_ERROR_XML_MESSAGE_NOT_SUPPORTED
FMC_ERROR_XML_WRONG_DATA_STRUCTURE
public static final int FMC_ERROR_XML_WRONG_DATA_STRUCTURE
FMC_ERROR_XML_DATA_MEMBER_NOT_FOUND
public static final int FMC_ERROR_XML_DATA_MEMBER_NOT_FOUND
FMC_ERROR_XML_DATA_MEMBER_WRONG_TYPE
public static final int FMC_ERROR_XML_DATA_MEMBER_WRONG_TYPE
FMC_ERROR_XML_BACKOUT_COUNT_EXCEEDED
public static final int FMC_ERROR_XML_BACKOUT_COUNT_EXCEEDED
FMC_ERROR_XML_DOCUMENT_FORMAT
public static final int FMC_ERROR_XML_DOCUMENT_FORMAT
FMC_ERROR_XML_PARAMETER_INCORRECT
public static final int FMC_ERROR_XML_PARAMETER_INCORRECT
FMC_ERROR_XML_PARAMETER_SIGNATURE_INCORRECT
public static final int FMC_ERROR_XML_PARAMETER_SIGNATURE_INCORRECT
FMC_ERROR_XML_INVALID_ELEMENT
public static final int FMC_ERROR_XML_INVALID_ELEMENT
FMC_ERROR_XML_INCORRECT_PARAMETER
public static final int FMC_ERROR_XML_INCORRECT_PARAMETER
FMC_ERROR_XML_ELEMENT_MISSING
public static final int FMC_ERROR_XML_ELEMENT_MISSING
FMC_ERROR_XML_MESSAGE_RETURNED
public static final int FMC_ERROR_XML_MESSAGE_RETURNED
FMC_ERROR_XML_PARSER_NOT_INSTALLED
public static final int FMC_ERROR_XML_PARSER_NOT_INSTALLED
FMC_ERROR_INVALID_QUEUE_SCOPE
public static final int FMC_ERROR_INVALID_QUEUE_SCOPE
FMC_ERROR_USER_SUPPORT_MISMATCH
public static final int FMC_ERROR_USER_SUPPORT_MISMATCH
FMC_ERROR_SUPPORT_MODE_MISMATCH
public static final int FMC_ERROR_SUPPORT_MODE_MISMATCH
FMC_ERROR_IMPLEMENTATION_SUPPORT_MISMATCH
public static final int FMC_ERROR_IMPLEMENTATION_SUPPORT_MISMATCH
FMC_ERROR_USER_NOT_AUTHORIZED
public static final int FMC_ERROR_USER_NOT_AUTHORIZED
FMC_ERROR_LOCAL_USER_REQUIRED
public static final int FMC_ERROR_LOCAL_USER_REQUIRED
FMC_ERROR_EXIT_ERROR
public static final int FMC_ERROR_EXIT_ERROR
FmcException
public FmcException()
- Used internally to construct an exception.
FmcException
public FmcException(int rc,
java.lang.String origin,
java.lang.String[] parameters,
java.lang.String messageText)
- Used internally to construct an exception.
- Parameters:
rc
- the API return codeorigin
- the string describing the source code location where the API error occurredparameters
- the string array holding the parameters which were passed when the API error occurredmessageText
- the NLS text describing the API error
FmcException
public FmcException(FmcException le)
- Used internally to construct an exception.
- Parameters:
le
- the local exception
FmcException
public FmcException(javax.naming.NamingException ne)
- Used internally to construct an exception.
FmcException
public FmcException(java.lang.Throwable t)
- Used internally to construct an exception.
getMessage
public java.lang.String getMessage()
- Returns a description of the exception.
- Overrides:
getMessage
in class java.lang.Throwable
- Returns:
- the description string
© Copyright IBM Corporation 1999, 2007. All Rights Reserved.