view Exception/SQLException.hpp @ 89:cfd2a417475a

Avoid multiple filesystem searches. Some cosmetics.
author Tom Fredrik Blenning Klaussen <bfg@bfgconsult.no>
date Mon, 21 Oct 2013 16:19:23 +0200
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