qswiki/database/exceptions.h

16 satır
294 B
C
Ham Normal Görünüm Geçmiş

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