@Override
    public void checkExit(int status) {
      throw new SecurityException("System.exit() was called with status: " + status);
    }
An extension of {@link StorageManager} to help mock failure case
ambry-store/src/test/java/com/github/ambry/store/StorageManagerTest.java