System.exit(...) should not be called in Java

Calling System.exit(int status) leads to the shutdown of the entire Java virtual machine. It should be used with care, when stopping the whole Java process is meant. For instance, it should not be called from applications running in a J2EE container.

Most of time,
return;
is what you need.

Comments

Popular posts from this blog

How to get Active Transactions and Locks from MySQL

Example of a PAC file