view Exception/SQLException.hpp @ 104:6bc013d5788b

Avoid unnecessary updates. Fix problems with wrong subset being selected for update with prefix. Fix some problems with to much verbosity in debug statements.
author Tom Fredrik Blenning Klaussen <bfg@bfgconsult.no>
date Sat, 15 Feb 2014 13:34:10 +0100
parents f507a7240bc9
children
line wrap: on
line source

#ifndef SQLEXCEPTION_HPP
#define SQLEXCEPTION_HPP

#include "Exception.hpp"
class QSqlQuery;

class SQLException : public Exception {
public:
  SQLException(const string_t& errMsg);
  SQLException(const QSqlQuery& error);
  SQLException(QSqlQuery& error, bool clear);

  virtual void raise() const;
};

#endif //IOEXCEPTION_HPP