You can handle the case in which a service call or SQL transaction takes longer than the specified timeout value.
Add an Error Handler builder and a Method builder to your model. The Error Handler builder performs a try and catch operation on the specified model action and the method determines what to do in the event the specified action fails.
One way of catching a timeout error for a service call or SQL statement is write a method to handle the error and use the Error Handler builder to run the method. This is the general process of handling errors in IBM® WebSphere® Portlet Factory applications.
Parent topic: Catching a timeout exception