LMDBAL 0.6.0
LMDB (Lightning Memory-Mapped Database Manager) Abstraction Layer
Loading...
Searching...
No Matches
LMDBAL::NotFound Class Reference

Thrown if something in the database was not found. More...

#include <exceptions.h>

Inheritance diagram for LMDBAL::NotFound:
LMDBAL::Exception

Public Member Functions

 NotFound (const std::string &key, const std::string &dbName, const std::string &tableName)
 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
 

Detailed Description

Thrown if something in the database was not found.

Constructor & Destructor Documentation

◆ NotFound()

LMDBAL::NotFound::NotFound ( const std::string & key,
const std::string & dbName,
const std::string & tableName )

Creates exception.

Parameters
key- record key that was not found
dbName- name of the database
tableName- name of the storage that was looked for a record

Member Function Documentation

◆ getMessage()

std::string LMDBAL::NotFound::getMessage ( ) const
virtual

returns exception message

Implements LMDBAL::Exception.


The documentation for this class was generated from the following files: