qswiki/database/exceptions.h

16 rader
294 B
C
Permalänk Normal vy Historik

2018-11-03 17:12:20 +01:00
#ifndef EXCEPTIONS_H
#define EXCEPTIONS_H
#include <stdexcept>
class DatabaseException : public std::runtime_error
{
using std::runtime_error::runtime_error;
};
class DatabaseQueryException : public DatabaseException
{
using DatabaseException::DatabaseException;
};
#endif // EXCEPTIONS_H