package FileSystem; /** An exception class that indicates the program should exit. Used as * substitute for System.exit for the benefit of JUnit tests. See also * FileSystem.exit. You don't need to modify this file. */ @SuppressWarnings("serial") public class ExitException extends RuntimeException { public ExitException () { this.code = 0; } public ExitException (int code) { this.code = code; } public int getCode () { return code; } final private int code; }