I am using JRDC2 and when I make a call to the server, I want my client program to be able to trap a timeout error from the server. The message "ERROR: java.net.SocketTimeOutException: Read time out" is not going to mean a lot to the end user and I want to handle it myself.
How do I do this in the client app? I thought I could wrap a Try/Catch block around the "wait for dbrequestmanager.executequerycustommethod(...)" but that didn't catch it.
Then I thought it would be caught in the Application_Error sub. Nope.
Do I put a Try/Catch in the DbRequestmanager.SendJob sub?
Where are we suppose to catch these type of unexpected errors from the server?
TIA
How do I do this in the client app? I thought I could wrap a Try/Catch block around the "wait for dbrequestmanager.executequerycustommethod(...)" but that didn't catch it.
Then I thought it would be caught in the Application_Error sub. Nope.
Do I put a Try/Catch in the DbRequestmanager.SendJob sub?
Where are we suppose to catch these type of unexpected errors from the server?
TIA