view Exception/SQLException.hpp @ 55:19b2a2d98788

Use define to multiplex between different types of decoders. Expand the API.
author Tom Fredrik Blenning Klaussen <bfg@blenning.no>
date Thu, 13 Sep 2012 23:47:29 +0200
parents bf3dce7fedcb
children c9447697609f
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);
};

#endif //IOEXCEPTION_HPP