1: …… 2: public void processFile() throws SQLException { 3: Connection conn = null; 4: final String url = "jdbc:mysql://127.0.0.1/example?user=root&password=1234"; 5: try { 6: Class.forName("com.mysql.jdbc.Driver"); 7: conn = DriverManager.getConnection(url); 8: …… 9: // 예외발생시 할당 받은 자원이 반환되지 않는다. 10: conn.close(); 11: } catch (ClassNotFoundException e) { 12: System.err.println("ClassNotFoundException occured"); 13: } catch (SQLException e) { 14: System.err.println("SQLException occured"); 15: } finally { 16: 17: ……