Calling System.exit(int status)
leads to the shut down 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.
The following code illustrates this rule:
System.exit(0); // Non-Compliant