public void closeJDBCConnection(Connection conn){
  try {
    if (conn != null) {
      conn.close();
    }
  }
 catch (  SQLException sqle) {
    subclassLogWrapper("Unexpected exception while closing database connection.");
  }
}

public void closeJDBCConnection ( Connection conn ) { try { if ( conn != null ) { conn . close ( ) ; } } catch ( SQLException sqle ) { subclassLogWrapper ( "Unexpected exception while closing database connection." ) ; } }
closes database connection and logs if an error is encountered
