~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to client/drizzledump.cc

  • Committer: Lee Bieber
  • Date: 2010-12-02 18:56:33 UTC
  • mfrom: (1966.3.1 bug683842)
  • mto: This revision was merged to the branch mainline in revision 1969.
  • Revision ID: kalebral@gmail.com-20101202185633-e27o1zhpev18dlsn
Merge Monty - fix bug 683842: remove generic catch blocks       

Show diffs side-by-side

added added

removed removed

Lines of Context:
200
200
      opt_destination_port, opt_destination_user, opt_destination_password,
201
201
      false);
202
202
  }
203
 
  catch (...)
 
203
  catch (std::exception&)
204
204
  {
205
205
    cerr << "Could not connect to destination database server" << endl;
206
206
    maybe_exit(EX_DRIZZLEERR);
225
225
      DrizzleDumpDatabase *database= *i;
226
226
      sout << *database;
227
227
    }
228
 
    catch (...)
 
228
    catch (std::exception&)
229
229
    {
230
230
      std::cout << _("Error inserting into destination database") << std::endl;
231
231
      if (not ignore_errors)
754
754
    db_connection = new DrizzleDumpConnection(current_host, opt_drizzle_port,
755
755
      current_user, opt_password, use_drizzle_protocol);
756
756
  }
757
 
  catch (...)
 
757
  catch (std::exception&)
758
758
  {
759
759
    maybe_exit(EX_DRIZZLEERR);
760
760
  }