public static BlockMetadataManager newBlockMetadataManager(TachyonConf tachyonConf) { BlockMetadataManager ret = new BlockMetadataManager(); try { ret.initBlockMetadataManager(tachyonConf); // caller of newBlockMetadataManager should not be forced to catch and handle these exceptions // since it is the responsibility of BlockMetadataManager. } catch (AlreadyExistsException aee) { throw new RuntimeException(aee); } catch (IOException ioe) { throw new RuntimeException(ioe); } catch (OutOfSpaceException ooe) { throw new RuntimeException(ooe); } return ret; }