Description
Here is related code:
Properties properties = new Properties(); try { InputStream input = new FileInputStream(authPath); properties.load(input); input.close(); } catch (Exception e) { throw new RuntimeException("Cannot open .properties file: " + authPath, e); }
If there is exception coming out of properties.load() call, input would be left open.