Code example for SQLException

Methods: printStackTrace

0
 
            // 
            // Do something with the connection here! 
            // 
        } catch (SQLException e) {
            e.printStackTrace();
        } finally { 
            connection.close();
        } 
    } 
}