I have a commercial single-threaded class that I want to have terminate itself--and it's JVM--under certain error conditions. (In this case, I know the JVM isn't running anything else).
Is System.exit(0) the standard way to do this? BONUS: Should I use zero as parameter, or something else?
<subject altered by PashaMod>