~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to client/drizzledump_data.h

  • Committer: Monty Taylor
  • Date: 2010-12-02 00:10:36 UTC
  • mto: (1968.1.2 build)
  • mto: This revision was merged to the branch mainline in revision 1969.
  • Revision ID: mordred@inaugust.com-20101202001036-tnhmv5kxw6v6r1vi
Use std::exception instead of catch(...)

Show diffs side-by-side

added added

removed removed

Lines of Context:
262
262
    void writeString(std::string &str)
263
263
    {
264
264
      if (not connection->queryNoResult(str))
265
 
        throw 1;
 
265
        throw std::exception();
266
266
    }
267
267
 
268
268
    void setConnection(DrizzleDumpConnection *conn) { connection= conn; }