LMDBAL 0.6.0
LMDB (Lightning Memory-Mapped Database Manager) Abstraction Layer
|
#include <exceptions.h>
Public Member Functions | |
TransactionTerminated (const std::string &dbName, const std::string &tableName, const std::string &action="") | |
Creates exception. | |
std::string | getMessage () const |
returns exception message | |
Public Member Functions inherited from LMDBAL::Exception | |
const char * | what () const noexcept(true) override |
system exception method that is actually called to show the message | |
Thrown if there was an attempt to perform action using terminated transaction
LMDBAL::TransactionTerminated::TransactionTerminated | ( | const std::string & | dbName, |
const std::string & | tableName, | ||
const std::string & | action = "" ) |
Creates exception.
dbName | - name of the database |
tableName | - name of the storage that was operated with |
action | - optional action, just to enrich the exception message |
|
virtual |
returns exception message
Implements LMDBAL::Exception.