Hi,
I want to terminate my java program when a particular condition is satisfied. Like the way we can do it in C and cpp exit(0) or exit(1). But I don't want to use System.exit(); as it terminates my whole
application.
Kindly suggest some solution for this.
Thanks in advance...

