It sometimes comes up in the course of unit testing where a unit of code calls System.exit(status). If you've a sane codebase this is normally within a main class. Consider an insane codebase:
Consider
public class DisgruntledPenguin { public static boolean happy() { System.exit(5); } }