Android Question JRDC2 CATCH WHEN NO CONNECTION TO DATABASE

manuelsalazar

Member
Licensed User
HI :

I am using JRDC2 to connect to remote database, but i want to intercept when no connection to a database is done when I use the following commands :

Dim req As DBRequestManager = CreateRequest
Dim cmd As DBCommand = CreateCommand("select_catinven",Null)

in the Logs send me :

ResponseError.Reason:java.net.ConnectException:Failed to connect to 192.168.1.3:17178 , Response:
ERROR:java.net.ConnectException:Failed to connect to 192.168.1.3:17178

before send me the error I want to send msgbox that no connection to DATABASE.


Thanks in advanced.
Manuel Salazar
 
Top