view Exception/SQLException.hpp @ 73:c9447697609f

Fixed some issues with raise. 100% function code coverage for Exceptions.
author Tom Fredrik Blenning Klaussen <bfg@bfgconsult.no>
date Thu, 31 Jan 2013 20:33:01 +0100
parents bf3dce7fedcb
children f507a7240bc9
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);

  virtual void raise() const;
};

#endif //IOEXCEPTION_HPP