Dear Samantha,


First, congratulations on even bothering to try and catch the exceptions that ARE thrown! There is an awful lot of production code is out there that doesn't worry about it.


Unfortunately, if a function does not throw exceptions, it is up to you to trap the condition.


Now, on IBM-type mainframes, you can have an "ESTAE" exit that the OS jumps into when it hits an abend condition, so at least you can shut down gracefully under all conditions (short of the operator pressing the IPL button). I've never found the equivalent for Windows -- but it may be out there somewhere.


Also, don't let sarcastic replies get to you. Just ignore them as best you can, and keep using the site.


Yours,

Wes Rogers