|
LMDBAL 0.6.0
LMDB (Lightning Memory-Mapped Database Manager) Abstraction Layer
|
Thrown if something in the database was called on closed state and it is not supported. More...
#include <exceptions.h>
Public Member Functions | |
| Closed (const std::string &operation, const std::string &dbName, const std::optional< std::string > &tableName=std::nullopt) | |
| 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 something in the database was called on closed state and it is not supported.
| LMDBAL::Closed::Closed | ( | const std::string & | operation, |
| const std::string & | dbName, | ||
| const std::optional< std::string > & | tableName = std::nullopt ) |
Creates exception.
| operation | - text name of the method that was called on closed database |
| dbName | - name of the database |
| tableName | - name of the storage which called that method, abscent if it's untracable or if it's thrown by the database |
|
virtual |
returns exception message
Implements LMDBAL::Exception.