|
LMDBAL 0.6.2
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 (std::string_view operation, std::string_view dbName, std::optional< std::string_view > tableName=std::nullopt) | |
| Creates exception. | |
| Public Member Functions inherited from LMDBAL::Exception | |
| Exception (std::size_t expectedSize=0) | |
| std::string | getMessage () const |
| returns exception message | |
| const char * | what () const noexcept(true) override |
| system exception method that is actually called to show the message | |
Additional Inherited Members | |
| Protected Member Functions inherited from LMDBAL::Exception | |
| std::string_view | appendSegment (std::string_view value) |
| appends value to message and returns a view | |
| void | appendLiteral (std::string_view value) |
| appends value to message without returning a view | |
Thrown if something in the database was called on closed state and it is not supported.
| LMDBAL::Closed::Closed | ( | std::string_view | operation, |
| std::string_view | dbName, | ||
| std::optional< std::string_view > | 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 |