This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
I'have run may thread (class implementing Runnable)using a shell script and stored the PID in a file so I can use it to stop the process using the kill command. my thread open some resources, like an rvd (Tibco RVD), so when killing the process using the kill method, my rvd is still running. my question is : which Exception must be catched when shutting down a java thread using the kill command line, so I can close my rvd connection int it.