public void close() throws DatabaseException {
  try {
    connection.close();
  }
 catch (  SQLException e) {
    throw (new DatabaseException(e));
  }
}

public void close ( ) throws DatabaseException { try { connection . close ( ) ; } catch ( SQLException e ) { throw ( new DatabaseException ( e ) ) ; } }
called to close the database .
