Error handling

The Request-Response data handler throws an exception if it cannot process a request. The request-response data handler provides an exception message that describes both what the data handler was attempting to do when the error occurred and any message returned by a component involved in the transaction (such as another data handler or the JCDK). These exceptions are propagated (perhaps not as an exception but another data structure) to the component that invoked the data handler initially.

The Request-Response data handler logs error and traces messages using the services provided by the data handler framework. Error messages and warnings are recorded in ICS logs. The data-handler does not log any messages to the Java console.

Copyright IBM Corp. 1997, 2003