Hello All...

I was just wondering, why does Derby throw an
SQLException when it shuts down, ie:

DriverManager.getConnection("jdbc:derby:;shutdown=true");

I always thought that exceptions were for exceptional
circumstances, but shutting down seems to be the
expected outcome from asking the database to shut
down.  Am I missing something?  It just seems odd to
me to have the above line of code in a try/catch block
with the catch block not really doing anything because
it is what I wanted to happen in the first place.

If anyonce could shed some light on this for me, I'd
appreciate it.

Daniel Morton

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

Reply via email to