JVM Shutdown Hooks - reason for shutdown
Hi
When using
Runtime.getRuntime().addShutdownHook(new Thread(){
publicvoid run(){
doOrderlyShutdown(true);
}
});
is there any way to determine more information on why we have a shutdown? What could I do in doOrderlyShutdown to determine more information on why the JVM has to terminate (e.g. CTRL-C or box shutting down etc.)
Help much appreciated
Lance

