30class Exception :
public std::exception {
37 const char*
what() const noexcept( true ) override;
69 Closed(
const std::string& operation,
const std::string& dbName,
const std::optional<std::string>& tableName = std::nullopt);
73 std::string operation;
75 std::optional<std::string> tableName;
90 CursorNotReady(
const std::string& operation,
const std::string& dbName,
const std::string& tableName);
94 std::string operation;
96 std::string tableName;
113 std::string operation;
127 Opened(
const std::string& dbName,
const std::string& action);
147 NotFound(
const std::string& key,
const std::string& dbName,
const std::string& tableName);
153 std::string tableName;
172 std::string tableName;
187 Exist(
const std::string& key,
const std::string& dbName,
const std::string& tableName);
193 std::string tableName;
208 TransactionTerminated(
const std::string& dbName,
const std::string& tableName,
const std::string& action =
"");
213 std::string tableName;
229 Unknown(
const std::string& dbName,
const std::string& message,
const std::optional<std::string>& tableName = std::nullopt);
234 std::optional<std::string> tableName;
Closed(const std::string &operation, const std::string &dbName, const std::optional< std::string > &tableName=std::nullopt)
Creates exception.
Definition exceptions.cpp:39
std::string getMessage() const
returns exception message
Definition exceptions.cpp:49
CursorEmpty(const std::string &operation)
Creates exception.
Definition exceptions.cpp:75
std::string getMessage() const
returns exception message
Definition exceptions.cpp:79
std::string getMessage() const
returns exception message
Definition exceptions.cpp:68
CursorNotReady(const std::string &operation, const std::string &dbName, const std::string &tableName)
Creates exception.
Definition exceptions.cpp:58
Directory(const std::string &path)
Creates exception.
Definition exceptions.cpp:32
const char * what() const noexcept(true) override
system exception method that is actually called to show the message
Definition exceptions.cpp:27
virtual std::string getMessage() const =0
returns exception message
std::string getMessage() const
returns exception message
Definition exceptions.cpp:133
Exist(const std::string &key, const std::string &dbName, const std::string &tableName)
Creates exception.
Definition exceptions.cpp:123
std::string getMessage() const
returns exception message
Definition exceptions.cpp:105
NotFound(const std::string &key, const std::string &dbName, const std::string &tableName)
Creates exception.
Definition exceptions.cpp:95
Opened(const std::string &dbName, const std::string &action)
Creates exception.
Definition exceptions.cpp:83
std::string getMessage() const
returns exception message
Definition exceptions.cpp:89
std::string getMessage() const
returns exception message
Definition exceptions.cpp:117
StorageDuplicate(const std::string &dbName, const std::string &tableName)
Creates exception.
Definition exceptions.cpp:110
std::string getMessage() const
returns exception message
Definition exceptions.cpp:150
TransactionTerminated(const std::string &dbName, const std::string &tableName, const std::string &action="")
Creates exception.
Definition exceptions.cpp:140
Unknown(const std::string &dbName, const std::string &message, const std::optional< std::string > &tableName=std::nullopt)
Creates exception.
Definition exceptions.cpp:163
std::string getMessage() const
returns exception message
Definition exceptions.cpp:173