Many methods of the Java connector library return an integer outcome status
to indicate the success of the method. Table 125 summarizes the static outcome-status constants, which are
defined in the CWConnectorConstant class.
Outcome-status constants of the CWConnectorConstant class
Constant name
| Meaning
|
SUCCEED
| The operation completed successfully.
|
APPRESPONSETIMEOUT
| The application is not responding.
|
BO_DOES_NOT_EXIST
| The requested business object in a retrieve does not exist.
|
CONNECTOR_NOT_ACTIVE
| The connector has attempted to deliver an event but the connector
controller is not active; it has been paused. Only when the
integration broker is InterChange Server does a connector controller
exist.
|
FAIL
| The operation failed for an unspecified reason.
|
MULTIPLE_HITS
| The
integration broker requested a retrieve-by-content but the connector found
more than one matching record. The status indicates that more than one
record matched the search requirements.
|
NO_SUBSCRIPTION_FOUND
| No subscriptions for the event.
|
RETRIEVEBYCONTENT_FAILED
| Retrieve by content failed.
|
UNABLETOLOGIN
| The connector cannot log into the application.
|
VALCHANGE
| The operation successfully completed and changed the value of the object
in the target application.
|
VALDUPES
| The requested operation was not needed because the object in the
application already had the requested characteristics.
|