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

Thrown if there was a key conflict in one of the storages. More...

#include <exceptions.h>

Inheritance diagram for LMDBAL::Exist:
LMDBAL::Exception

Public Member Functions

 Exist (std::string_view key, std::string_view dbName, std::string_view tableName)
 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

Detailed Description

Thrown if there was a key conflict in one of the storages.

Constructor & Destructor Documentation

◆ Exist()

LMDBAL::Exist::Exist ( std::string_view key,
std::string_view dbName,
std::string_view tableName )

Creates exception.

Parameters
key- record key that caused the conflict
dbName- name of the database
tableName- name of the storage that was operated with

The documentation for this class was generated from the following files:
  • /workspace/blue/lmdbal/src/exceptions.h
  • /workspace/blue/lmdbal/src/exceptions.cpp