Class LauncherSecurityManager

java.lang.Object
java.lang.SecurityManager
org.apache.hadoop.hbase.util.LauncherSecurityManager

class for masquerading System.exit(int). Use for test main method with System.exit(int ) usage: new LauncherSecurityManager(); try { CellCounter.main(args); fail("should be exception"); } catch (SecurityException e) { assert(.,e.getExitCode()); }