public static String readFile(File file) { try { return readFileOrThrow(file); } catch (FileNotFoundException e) { LOGGER.log(Level.FINE, "readFile", e); } catch (IOException e) { LOGGER.log(Level.WARNING, "readFile", e); } return null; }
public static String readFile(File file) { try { return readFileOrThrow(file); } catch (FileNotFoundException e) { LOGGER.log(Level.FINE, "readFile", e); } catch (IOException e) { LOGGER.log(Level.WARNING, "readFile", e); } return null; }