> +         } catch (SQLException ex){
> +             // handle any errors
> +             System.out.println("SQLException: " + ex.getMessage());
> +             System.out.println("SQLState: " + ex.getSQLState());
> +             System.out.println("VendorError: " + ex.getErrorCode());
> +             return false;
> +         } finally {
> +             // it is a good idea to release
> +             // resources in a finally{} block
> +             // in reverse-order of their creation
> +             // if they are no-longer needed
> +
> +             if (rs != null) {
> +                 try {
> +                     rs.close();
> +                 } catch (SQLException sqlEx) { } // ignore

State why it's being ignored. Same goes below.

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-examples/pull/6/files#r4753134

Reply via email to