Further reflection -right after posting my initial question- led to one of those "I 
could'a had a V-8" moments, and the probable answer to my own question, which is - 
that it would most likely be hard for the database to return an exception when it is 
not even running.  So here are my REAL questions:

1) Is it rare to trap for the condition of database stopped? None of the books I have 
used for connection examples even mentioned it.

2) If I do want to trap for this, would the way to go be to test whether connecion 
object null after my .makeConnection() call, and if it is, throw my own exception?

Thanks for input.

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to