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

Thrown if something unexpected happened. More...

#include <exceptions.h>

Inheritance diagram for LMDBAL::Unknown:
LMDBAL::Exception

Public Member Functions

 Unknown (const std::string &dbName, const std::string &message, 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
 

Detailed Description

Thrown if something unexpected happened.

Constructor & Destructor Documentation

◆ Unknown()

LMDBAL::Unknown::Unknown ( const std::string & dbName,
const std::string & message,
const std::optional< std::string > & tableName = std::nullopt )

Creates exception.

Parameters
message- text description of the error, most of the times contains the result of mdb_strerror
dbName- name of the database
tableName- name of the storage that was operated with, abscent if the operation was with the database itself

Member Function Documentation

◆ getMessage()

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

returns exception message

Implements LMDBAL::Exception.


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