The CWConnectorReturnStatusDescriptor class enables Java connectors to return error and informational messages in a return-status descriptor. This descriptor provides additional status information is usually returned as part of the request response sent to the integration broker that initiated the request.
Table 136 summarizes the methods in the CWConnectorReturnStatusDescriptor class.
Member methods of the CWConnectorReturnStatusDescriptor classMember method | Description | Page |
---|---|---|
CWConnectorReturnStatusDescriptor() | Creates a return-status descriptor. | CWConnectorReturnStatusDescriptor() |
getErrorString() | Retrieves a message string from a return-status descriptor. | getErrorString() |
getStatus() | Retrieves the value of the status code from the return-status descriptor. | getStatus() |
setErrorString() | Sets the error or informational message in the return-status descriptor. | setErrorString() |
setStatus() | Sets the value of the status code in the return-status descriptor. | setStatus() |