Mombu the Programming Forum sponsored links

Go Back   Mombu the Programming Forum > Programming > Resource Exception how do I trap it
User Name
Password
REGISTER NOW! Mark Forums Read

sponsored links


Reply
 
1 22nd November 05:10
kelvin
External User
 
Posts: 1
Default Resource Exception how do I trap it



using JBuilder2005 with FireBird
If I turn off the database (by stopping the guardian)
I get a dialog box saying:

Resource Exception. Unable to complete network request to host "myhost"
Reason:Unable to complete network request to host "myhost"

I get past
database1.setConnection
which cant throw Resource Exception and doesnt throw
DataSetException
where can I trap the Resource Exception?
I want to show users a message like "Perhaps the Database isnt running"
  Reply With Quote


  sponsored links


Reply


Thread Tools
Display Modes




Copyright © 2006 SmartyDevil.com - Dies Mies Jeschet Boenedoesef Douvema Enitemaus -
666