IExecuteCollaborationError

This exception is thrown when execution of a collaboration fails.

Members

string IerrorMessage;
long status;

Notes

The two following methods, which request execution of a collaboration, can throw the IExecuteCollaborationError exception:

This exception contains a public int variable called status to indicate the details of when the exception occurred. The Server Access provides execution-status constants to represent the possible values of this status variable. The execution-status constants for this exception are listed in Table 12

Table 12. Values for the IExecuteCollaborationError Status

Constant Name Description
UNKNOWNSTATUS The status of the call to IexecuteCollaboration() or IexecuteCollaborationExtFmt() method.
FAILEDTOREACHCOLLABORATION The access request did not reach the collaboration.
FAILEDINEXECUTIONOFCOLLABORATION The access request failed while executing the collaboration.
FAILEDINRETURNTOCLIENT The collaboration executed but an error occurred while delivering the response to the access client.

To obtain this value, dereference your exception variable as follows:

this_exception_name_caught.status 

Copyright IBM Corp. 2004