How to trap (interrupt) signal from JVM
How to capture (interrupt) signal from JVM in case of JVM termination due to Error/RuntimeException in shell script (Unix/Linux OS). Is it possible?
I am executing an java class from shell script. In cetain condition it throws RuntinmeException.
I want to capture the signal from terminating JVM in case of the RuntimeException.
How to acheive this ? Can any one solve this problem ?

