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

Thrown if there was attempt to define storages with conflicting names. More...

#include <exceptions.h>

Inheritance diagram for LMDBAL::StorageDuplicate:
LMDBAL::Exception

Public Member Functions

 StorageDuplicate (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 there was attempt to define storages with conflicting names.

Constructor & Destructor Documentation

◆ StorageDuplicate()

LMDBAL::StorageDuplicate::StorageDuplicate ( const std::string & dbName,
const std::string & tableName )

Creates exception.

Parameters
dbName- name of the database
tableName- that name that was conflicting

Member Function Documentation

◆ getMessage()

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

returns exception message

Implements LMDBAL::Exception.


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