You would have to setup a try catch statement to catch when the exception occurs and see what the program can do to fix the issue, and if it can't you could possibly tell the user which program is causing the error and needs to be closed.
Regards, Thomas Stockwell Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning. Visit my homepage Oracle Studios[^]