libmdbx 0.13.2.20 (2024-12-20T11:46:01+03:00)
One of the fastest compact embeddable key-value ACID storage engine without WAL.
 
Loading...
Searching...
No Matches
exceptions and errors

Classes

class  mdbx::exception_thunk
 Transfers C++ exceptions thru C callbacks. More...
 
class  mdbx::error
 Implements error information and throwing corresponding exceptions. More...
 
class  mdbx::exception
 Base class for all libmdbx's exceptions that are corresponds to libmdbx errors. More...
 
class  mdbx::fatal
 Fatal exception that lead termination anyway in dangerous unrecoverable cases. More...
 
struct  mdbx::bad_map_id
 
struct  mdbx::bad_transaction
 
struct  mdbx::bad_value_size
 
struct  mdbx::db_corrupted
 
struct  mdbx::db_full
 
struct  mdbx::db_invalid
 
struct  mdbx::db_too_large
 
struct  mdbx::db_unable_extend
 
struct  mdbx::db_version_mismatch
 
struct  mdbx::db_wanna_write_for_recovery
 
struct  mdbx::incompatible_operation
 
struct  mdbx::internal_page_full
 
struct  mdbx::internal_problem
 
struct  mdbx::key_exists
 
struct  mdbx::key_mismatch
 
struct  mdbx::max_maps_reached
 
struct  mdbx::max_readers_reached
 
struct  mdbx::multivalue
 
struct  mdbx::no_data
 
struct  mdbx::not_found
 
struct  mdbx::operation_not_permitted
 
struct  mdbx::permission_denied_or_not_writeable
 
struct  mdbx::reader_slot_busy
 
struct  mdbx::remote_media
 
struct  mdbx::something_busy
 
struct  mdbx::thread_mismatch
 
struct  mdbx::transaction_full
 
struct  mdbx::transaction_overlapping
 
struct  mdbx::duplicated_lck_file
 
struct  mdbx::dangling_map_id
 
struct  mdbx::transaction_ousted
 
struct  mdbx::mvcc_retarded
 

Macros

#define MDBX_DECLARE_EXCEPTION(NAME)
 

Functions

LIBMDBX_API void mdbx::throw_too_small_target_buffer ()
 
LIBMDBX_API void mdbx::throw_max_length_exceeded ()
 
LIBMDBX_API void mdbx::throw_out_range ()
 
LIBMDBX_API void mdbx::throw_allocators_mismatch ()
 
LIBMDBX_API void mdbx::throw_bad_value_size ()
 
LIBMDBX_API void mdbx::throw_incomparable_cursors ()
 

Detailed Description


Class Documentation

◆ mdbx::exception_thunk

class mdbx::exception_thunk

Transfers C++ exceptions thru C callbacks.

Implements saving exceptions before returning from an C++'s environment to the intermediate C code and re-throwing after returning from C to the C++'s environment.

Public Member Functions

 exception_thunk () noexcept=default
 
 exception_thunk (const exception_thunk &)=delete
 
 exception_thunk (exception_thunk &&)=delete
 
exception_thunkoperator= (const exception_thunk &)=delete
 
exception_thunkoperator= (exception_thunk &&)=delete
 
bool is_clean () const noexcept
 
void capture () noexcept
 
void rethrow_captured () const
 

Constructor & Destructor Documentation

◆ exception_thunk() [1/3]

mdbx::exception_thunk::exception_thunk ( )
defaultnoexcept

◆ exception_thunk() [2/3]

mdbx::exception_thunk::exception_thunk ( const exception_thunk & )
delete

◆ exception_thunk() [3/3]

mdbx::exception_thunk::exception_thunk ( exception_thunk && )
delete

Member Function Documentation

◆ operator=() [1/2]

exception_thunk & mdbx::exception_thunk::operator= ( const exception_thunk & )
delete

◆ operator=() [2/2]

exception_thunk & mdbx::exception_thunk::operator= ( exception_thunk && )
delete

◆ mdbx::error

class mdbx::error

Implements error information and throwing corresponding exceptions.

Public Member Functions

constexpr error (MDBX_error_t error_code) noexcept
 
 error (const error &)=default
 
 error (error &&)=default
 
erroroperator= (const error &)=default
 
erroroperator= (error &&)=default
 
constexpr bool is_success () const noexcept
 
constexpr bool is_result_true () const noexcept
 
constexpr bool is_result_false () const noexcept
 
constexpr bool is_failure () const noexcept
 
constexpr MDBX_error_t code () const noexcept
 Returns error code.
 
const char * what () const noexcept
 Returns message for MDBX's errors only and "SYSTEM" for others.
 
::std::string message () const
 Returns message for any errors.
 
constexpr bool is_mdbx_error () const noexcept
 Returns true for MDBX's errors.
 
void panic (const char *context_where_when, const char *func_who_what) const noexcept
 Panics on unrecoverable errors inside destructors etc.
 
void throw_exception () const
 
void throw_on_failure () const
 
void success_or_throw () const
 
void success_or_throw (const exception_thunk &) const
 
void panic_on_failure (const char *context_where, const char *func_who) const noexcept
 
void success_or_panic (const char *context_where, const char *func_who) const noexcept
 

Static Public Member Functions

static void throw_exception (int error_code)
 
static void throw_on_nullptr (const void *ptr, MDBX_error_t error_code)
 
static void success_or_throw (MDBX_error_t error_code)
 
static void success_or_throw (int error_code)
 
static void throw_on_failure (int error_code)
 
static bool boolean_or_throw (int error_code)
 
static void success_or_throw (int error_code, const exception_thunk &)
 
static bool boolean_or_throw (int error_code, const exception_thunk &)
 
static void panic_on_failure (int error_code, const char *context_where, const char *func_who) noexcept
 
static void success_or_panic (int error_code, const char *context_where, const char *func_who) noexcept
 

Friends

constexpr friend bool operator== (const error &a, const error &b)
 
constexpr friend bool operator!= (const error &a, const error &b)
 

Constructor & Destructor Documentation

◆ error() [1/2]

mdbx::error::error ( const error & )
default

◆ error() [2/2]

mdbx::error::error ( error && )
default

Member Function Documentation

◆ message()

::std::string mdbx::error::message ( ) const

Returns message for any errors.

◆ operator=() [1/2]

error & mdbx::error::operator= ( const error & )
default

◆ operator=() [2/2]

error & mdbx::error::operator= ( error && )
default

◆ panic()

void mdbx::error::panic ( const char * context_where_when,
const char * func_who_what ) const
noexcept

Panics on unrecoverable errors inside destructors etc.

◆ success_or_throw()

static void mdbx::error::success_or_throw ( int error_code)
inlinestatic

◆ throw_exception()

void mdbx::error::throw_exception ( ) const

◆ what()

const char * mdbx::error::what ( ) const
noexcept

Returns message for MDBX's errors only and "SYSTEM" for others.

Friends And Related Symbol Documentation

◆ operator!=

friend bool operator!= ( const error & a,
const error & b )
friend

◆ operator==

friend bool operator== ( const error & a,
const error & b )
friend

◆ mdbx::exception

class mdbx::exception

Base class for all libmdbx's exceptions that are corresponds to libmdbx errors.

See also
MDBX_error_t

Inherits std::runtime_error.

Inherited by mdbx::bad_map_id, mdbx::bad_transaction, mdbx::bad_value_size, mdbx::dangling_map_id, mdbx::db_corrupted, mdbx::db_full, mdbx::db_invalid, mdbx::db_too_large, mdbx::db_unable_extend, mdbx::db_version_mismatch, mdbx::db_wanna_write_for_recovery, mdbx::duplicated_lck_file, mdbx::fatal, mdbx::incompatible_operation, mdbx::internal_page_full, mdbx::internal_problem, mdbx::key_exists, mdbx::key_mismatch, mdbx::max_maps_reached, mdbx::max_readers_reached, mdbx::multivalue, mdbx::mvcc_retarded, mdbx::no_data, mdbx::not_found, mdbx::operation_not_permitted, mdbx::permission_denied_or_not_writeable, mdbx::reader_slot_busy, mdbx::remote_media, mdbx::something_busy, mdbx::thread_mismatch, mdbx::transaction_full, mdbx::transaction_ousted, and mdbx::transaction_overlapping.

Public Member Functions

 exception (const ::mdbx::error &) noexcept
 
 exception (const exception &)=default
 
 exception (exception &&)=default
 
exceptionoperator= (const exception &)=default
 
exceptionoperator= (exception &&)=default
 
virtual ~exception () noexcept
 
const ::mdbx::error error () const noexcept
 

Constructor & Destructor Documentation

◆ exception() [1/3]

mdbx::exception::exception ( const ::mdbx::error & )
noexcept

◆ exception() [2/3]

mdbx::exception::exception ( const exception & )
default

◆ exception() [3/3]

mdbx::exception::exception ( exception && )
default

◆ ~exception()

virtual mdbx::exception::~exception ( )
virtualnoexcept

Member Function Documentation

◆ error()

const ::mdbx::error mdbx::exception::error ( ) const
inlinenoexcept

◆ operator=() [1/2]

exception & mdbx::exception::operator= ( const exception & )
default

◆ operator=() [2/2]

exception & mdbx::exception::operator= ( exception && )
default

◆ mdbx::fatal

class mdbx::fatal

Fatal exception that lead termination anyway in dangerous unrecoverable cases.

Inherits mdbx::exception.

Public Member Functions

 fatal (const ::mdbx::error &) noexcept
 
 fatal (const exception &src) noexcept
 
 fatal (exception &&src) noexcept
 
 fatal (const fatal &src) noexcept
 
 fatal (fatal &&src) noexcept
 
fataloperator= (fatal &&)=default
 
fataloperator= (const fatal &)=default
 
virtual ~fatal () noexcept
 
- Public Member Functions inherited from mdbx::exception
 exception (const ::mdbx::error &) noexcept
 
 exception (const exception &)=default
 
 exception (exception &&)=default
 
exceptionoperator= (const exception &)=default
 
exceptionoperator= (exception &&)=default
 
virtual ~exception () noexcept
 
const ::mdbx::error error () const noexcept
 

Constructor & Destructor Documentation

◆ fatal() [1/5]

mdbx::fatal::fatal ( const ::mdbx::error & )
noexcept

◆ fatal() [2/5]

mdbx::fatal::fatal ( const exception & src)
inlinenoexcept

◆ fatal() [3/5]

mdbx::fatal::fatal ( exception && src)
inlinenoexcept

◆ fatal() [4/5]

mdbx::fatal::fatal ( const fatal & src)
inlinenoexcept

◆ fatal() [5/5]

mdbx::fatal::fatal ( fatal && src)
inlinenoexcept

◆ ~fatal()

virtual mdbx::fatal::~fatal ( )
virtualnoexcept

Member Function Documentation

◆ operator=() [1/2]

fatal & mdbx::fatal::operator= ( const fatal & )
default

◆ operator=() [2/2]

fatal & mdbx::fatal::operator= ( fatal && )
default

◆ mdbx::bad_map_id

struct mdbx::bad_map_id

Inherits mdbx::exception.

Public Member Functions

 bad_map_id (const ::mdbx::error &)
 
virtual ~bad_map_id () noexcept
 
- Public Member Functions inherited from mdbx::exception
 exception (const ::mdbx::error &) noexcept
 
 exception (const exception &)=default
 
 exception (exception &&)=default
 
exceptionoperator= (const exception &)=default
 
exceptionoperator= (exception &&)=default
 
virtual ~exception () noexcept
 
const ::mdbx::error error () const noexcept
 

Constructor & Destructor Documentation

◆ bad_map_id()

mdbx::bad_map_id::bad_map_id ( const ::mdbx::error & )

◆ ~bad_map_id()

virtual mdbx::bad_map_id::~bad_map_id ( )
virtualnoexcept

◆ mdbx::bad_transaction

struct mdbx::bad_transaction

Inherits mdbx::exception.

Public Member Functions

 bad_transaction (const ::mdbx::error &)
 
virtual ~bad_transaction () noexcept
 
- Public Member Functions inherited from mdbx::exception
 exception (const ::mdbx::error &) noexcept
 
 exception (const exception &)=default
 
 exception (exception &&)=default
 
exceptionoperator= (const exception &)=default
 
exceptionoperator= (exception &&)=default
 
virtual ~exception () noexcept
 
const ::mdbx::error error () const noexcept
 

Constructor & Destructor Documentation

◆ bad_transaction()

mdbx::bad_transaction::bad_transaction ( const ::mdbx::error & )

◆ ~bad_transaction()

virtual mdbx::bad_transaction::~bad_transaction ( )
virtualnoexcept

◆ mdbx::bad_value_size

struct mdbx::bad_value_size

Inherits mdbx::exception.

Public Member Functions

 bad_value_size (const ::mdbx::error &)
 
virtual ~bad_value_size () noexcept
 
- Public Member Functions inherited from mdbx::exception
 exception (const ::mdbx::error &) noexcept
 
 exception (const exception &)=default
 
 exception (exception &&)=default
 
exceptionoperator= (const exception &)=default
 
exceptionoperator= (exception &&)=default
 
virtual ~exception () noexcept
 
const ::mdbx::error error () const noexcept
 

Constructor & Destructor Documentation

◆ bad_value_size()

mdbx::bad_value_size::bad_value_size ( const ::mdbx::error & )

◆ ~bad_value_size()

virtual mdbx::bad_value_size::~bad_value_size ( )
virtualnoexcept

◆ mdbx::db_corrupted

struct mdbx::db_corrupted

Inherits mdbx::exception.

Public Member Functions

 db_corrupted (const ::mdbx::error &)
 
virtual ~db_corrupted () noexcept
 
- Public Member Functions inherited from mdbx::exception
 exception (const ::mdbx::error &) noexcept
 
 exception (const exception &)=default
 
 exception (exception &&)=default
 
exceptionoperator= (const exception &)=default
 
exceptionoperator= (exception &&)=default
 
virtual ~exception () noexcept
 
const ::mdbx::error error () const noexcept
 

Constructor & Destructor Documentation

◆ db_corrupted()

mdbx::db_corrupted::db_corrupted ( const ::mdbx::error & )

◆ ~db_corrupted()

virtual mdbx::db_corrupted::~db_corrupted ( )
virtualnoexcept

◆ mdbx::db_full

struct mdbx::db_full

Inherits mdbx::exception.

Public Member Functions

 db_full (const ::mdbx::error &)
 
virtual ~db_full () noexcept
 
- Public Member Functions inherited from mdbx::exception
 exception (const ::mdbx::error &) noexcept
 
 exception (const exception &)=default
 
 exception (exception &&)=default
 
exceptionoperator= (const exception &)=default
 
exceptionoperator= (exception &&)=default
 
virtual ~exception () noexcept
 
const ::mdbx::error error () const noexcept
 

Constructor & Destructor Documentation

◆ db_full()

mdbx::db_full::db_full ( const ::mdbx::error & )

◆ ~db_full()

virtual mdbx::db_full::~db_full ( )
virtualnoexcept

◆ mdbx::db_invalid

struct mdbx::db_invalid

Inherits mdbx::exception.

Public Member Functions

 db_invalid (const ::mdbx::error &)
 
virtual ~db_invalid () noexcept
 
- Public Member Functions inherited from mdbx::exception
 exception (const ::mdbx::error &) noexcept
 
 exception (const exception &)=default
 
 exception (exception &&)=default
 
exceptionoperator= (const exception &)=default
 
exceptionoperator= (exception &&)=default
 
virtual ~exception () noexcept
 
const ::mdbx::error error () const noexcept
 

Constructor & Destructor Documentation

◆ db_invalid()

mdbx::db_invalid::db_invalid ( const ::mdbx::error & )

◆ ~db_invalid()

virtual mdbx::db_invalid::~db_invalid ( )
virtualnoexcept

◆ mdbx::db_too_large

struct mdbx::db_too_large

Inherits mdbx::exception.

Public Member Functions

 db_too_large (const ::mdbx::error &)
 
virtual ~db_too_large () noexcept
 
- Public Member Functions inherited from mdbx::exception
 exception (const ::mdbx::error &) noexcept
 
 exception (const exception &)=default
 
 exception (exception &&)=default
 
exceptionoperator= (const exception &)=default
 
exceptionoperator= (exception &&)=default
 
virtual ~exception () noexcept
 
const ::mdbx::error error () const noexcept
 

Constructor & Destructor Documentation

◆ db_too_large()

mdbx::db_too_large::db_too_large ( const ::mdbx::error & )

◆ ~db_too_large()

virtual mdbx::db_too_large::~db_too_large ( )
virtualnoexcept

◆ mdbx::db_unable_extend

struct mdbx::db_unable_extend

Inherits mdbx::exception.

Public Member Functions

 db_unable_extend (const ::mdbx::error &)
 
virtual ~db_unable_extend () noexcept
 
- Public Member Functions inherited from mdbx::exception
 exception (const ::mdbx::error &) noexcept
 
 exception (const exception &)=default
 
 exception (exception &&)=default
 
exceptionoperator= (const exception &)=default
 
exceptionoperator= (exception &&)=default
 
virtual ~exception () noexcept
 
const ::mdbx::error error () const noexcept
 

Constructor & Destructor Documentation

◆ db_unable_extend()

mdbx::db_unable_extend::db_unable_extend ( const ::mdbx::error & )

◆ ~db_unable_extend()

virtual mdbx::db_unable_extend::~db_unable_extend ( )
virtualnoexcept

◆ mdbx::db_version_mismatch

struct mdbx::db_version_mismatch

Inherits mdbx::exception.

Public Member Functions

 db_version_mismatch (const ::mdbx::error &)
 
virtual ~db_version_mismatch () noexcept
 
- Public Member Functions inherited from mdbx::exception
 exception (const ::mdbx::error &) noexcept
 
 exception (const exception &)=default
 
 exception (exception &&)=default
 
exceptionoperator= (const exception &)=default
 
exceptionoperator= (exception &&)=default
 
virtual ~exception () noexcept
 
const ::mdbx::error error () const noexcept
 

Constructor & Destructor Documentation

◆ db_version_mismatch()

mdbx::db_version_mismatch::db_version_mismatch ( const ::mdbx::error & )

◆ ~db_version_mismatch()

virtual mdbx::db_version_mismatch::~db_version_mismatch ( )
virtualnoexcept

◆ mdbx::db_wanna_write_for_recovery

struct mdbx::db_wanna_write_for_recovery

Inherits mdbx::exception.

Public Member Functions

 db_wanna_write_for_recovery (const ::mdbx::error &)
 
virtual ~db_wanna_write_for_recovery () noexcept
 
- Public Member Functions inherited from mdbx::exception
 exception (const ::mdbx::error &) noexcept
 
 exception (const exception &)=default
 
 exception (exception &&)=default
 
exceptionoperator= (const exception &)=default
 
exceptionoperator= (exception &&)=default
 
virtual ~exception () noexcept
 
const ::mdbx::error error () const noexcept
 

Constructor & Destructor Documentation

◆ db_wanna_write_for_recovery()

mdbx::db_wanna_write_for_recovery::db_wanna_write_for_recovery ( const ::mdbx::error & )

◆ ~db_wanna_write_for_recovery()

virtual mdbx::db_wanna_write_for_recovery::~db_wanna_write_for_recovery ( )
virtualnoexcept

◆ mdbx::incompatible_operation

struct mdbx::incompatible_operation

Inherits mdbx::exception.

Public Member Functions

 incompatible_operation (const ::mdbx::error &)
 
virtual ~incompatible_operation () noexcept
 
- Public Member Functions inherited from mdbx::exception
 exception (const ::mdbx::error &) noexcept
 
 exception (const exception &)=default
 
 exception (exception &&)=default
 
exceptionoperator= (const exception &)=default
 
exceptionoperator= (exception &&)=default
 
virtual ~exception () noexcept
 
const ::mdbx::error error () const noexcept
 

Constructor & Destructor Documentation

◆ incompatible_operation()

mdbx::incompatible_operation::incompatible_operation ( const ::mdbx::error & )

◆ ~incompatible_operation()

virtual mdbx::incompatible_operation::~incompatible_operation ( )
virtualnoexcept

◆ mdbx::internal_page_full

struct mdbx::internal_page_full

Inherits mdbx::exception.

Public Member Functions

 internal_page_full (const ::mdbx::error &)
 
virtual ~internal_page_full () noexcept
 
- Public Member Functions inherited from mdbx::exception
 exception (const ::mdbx::error &) noexcept
 
 exception (const exception &)=default
 
 exception (exception &&)=default
 
exceptionoperator= (const exception &)=default
 
exceptionoperator= (exception &&)=default
 
virtual ~exception () noexcept
 
const ::mdbx::error error () const noexcept
 

Constructor & Destructor Documentation

◆ internal_page_full()

mdbx::internal_page_full::internal_page_full ( const ::mdbx::error & )

◆ ~internal_page_full()

virtual mdbx::internal_page_full::~internal_page_full ( )
virtualnoexcept

◆ mdbx::internal_problem

struct mdbx::internal_problem

Inherits mdbx::exception.

Public Member Functions

 internal_problem (const ::mdbx::error &)
 
virtual ~internal_problem () noexcept
 
- Public Member Functions inherited from mdbx::exception
 exception (const ::mdbx::error &) noexcept
 
 exception (const exception &)=default
 
 exception (exception &&)=default
 
exceptionoperator= (const exception &)=default
 
exceptionoperator= (exception &&)=default
 
virtual ~exception () noexcept
 
const ::mdbx::error error () const noexcept
 

Constructor & Destructor Documentation

◆ internal_problem()

mdbx::internal_problem::internal_problem ( const ::mdbx::error & )

◆ ~internal_problem()

virtual mdbx::internal_problem::~internal_problem ( )
virtualnoexcept

◆ mdbx::key_exists

struct mdbx::key_exists

Inherits mdbx::exception.

Public Member Functions

 key_exists (const ::mdbx::error &)
 
virtual ~key_exists () noexcept
 
- Public Member Functions inherited from mdbx::exception
 exception (const ::mdbx::error &) noexcept
 
 exception (const exception &)=default
 
 exception (exception &&)=default
 
exceptionoperator= (const exception &)=default
 
exceptionoperator= (exception &&)=default
 
virtual ~exception () noexcept
 
const ::mdbx::error error () const noexcept
 

Constructor & Destructor Documentation

◆ key_exists()

mdbx::key_exists::key_exists ( const ::mdbx::error & )

◆ ~key_exists()

virtual mdbx::key_exists::~key_exists ( )
virtualnoexcept

◆ mdbx::key_mismatch

struct mdbx::key_mismatch

Inherits mdbx::exception.

Public Member Functions

 key_mismatch (const ::mdbx::error &)
 
virtual ~key_mismatch () noexcept
 
- Public Member Functions inherited from mdbx::exception
 exception (const ::mdbx::error &) noexcept
 
 exception (const exception &)=default
 
 exception (exception &&)=default
 
exceptionoperator= (const exception &)=default
 
exceptionoperator= (exception &&)=default
 
virtual ~exception () noexcept
 
const ::mdbx::error error () const noexcept
 

Constructor & Destructor Documentation

◆ key_mismatch()

mdbx::key_mismatch::key_mismatch ( const ::mdbx::error & )

◆ ~key_mismatch()

virtual mdbx::key_mismatch::~key_mismatch ( )
virtualnoexcept

◆ mdbx::max_maps_reached

struct mdbx::max_maps_reached

Inherits mdbx::exception.

Public Member Functions

 max_maps_reached (const ::mdbx::error &)
 
virtual ~max_maps_reached () noexcept
 
- Public Member Functions inherited from mdbx::exception
 exception (const ::mdbx::error &) noexcept
 
 exception (const exception &)=default
 
 exception (exception &&)=default
 
exceptionoperator= (const exception &)=default
 
exceptionoperator= (exception &&)=default
 
virtual ~exception () noexcept
 
const ::mdbx::error error () const noexcept
 

Constructor & Destructor Documentation

◆ max_maps_reached()

mdbx::max_maps_reached::max_maps_reached ( const ::mdbx::error & )

◆ ~max_maps_reached()

virtual mdbx::max_maps_reached::~max_maps_reached ( )
virtualnoexcept

◆ mdbx::max_readers_reached

struct mdbx::max_readers_reached

Inherits mdbx::exception.

Public Member Functions

 max_readers_reached (const ::mdbx::error &)
 
virtual ~max_readers_reached () noexcept
 
- Public Member Functions inherited from mdbx::exception
 exception (const ::mdbx::error &) noexcept
 
 exception (const exception &)=default
 
 exception (exception &&)=default
 
exceptionoperator= (const exception &)=default
 
exceptionoperator= (exception &&)=default
 
virtual ~exception () noexcept
 
const ::mdbx::error error () const noexcept
 

Constructor & Destructor Documentation

◆ max_readers_reached()

mdbx::max_readers_reached::max_readers_reached ( const ::mdbx::error & )

◆ ~max_readers_reached()

virtual mdbx::max_readers_reached::~max_readers_reached ( )
virtualnoexcept

◆ mdbx::multivalue

struct mdbx::multivalue

Inherits mdbx::exception.

Public Member Functions

 multivalue (const ::mdbx::error &)
 
virtual ~multivalue () noexcept
 
- Public Member Functions inherited from mdbx::exception
 exception (const ::mdbx::error &) noexcept
 
 exception (const exception &)=default
 
 exception (exception &&)=default
 
exceptionoperator= (const exception &)=default
 
exceptionoperator= (exception &&)=default
 
virtual ~exception () noexcept
 
const ::mdbx::error error () const noexcept
 

Constructor & Destructor Documentation

◆ multivalue()

mdbx::multivalue::multivalue ( const ::mdbx::error & )

◆ ~multivalue()

virtual mdbx::multivalue::~multivalue ( )
virtualnoexcept

◆ mdbx::no_data

struct mdbx::no_data

Inherits mdbx::exception.

Public Member Functions

 no_data (const ::mdbx::error &)
 
virtual ~no_data () noexcept
 
- Public Member Functions inherited from mdbx::exception
 exception (const ::mdbx::error &) noexcept
 
 exception (const exception &)=default
 
 exception (exception &&)=default
 
exceptionoperator= (const exception &)=default
 
exceptionoperator= (exception &&)=default
 
virtual ~exception () noexcept
 
const ::mdbx::error error () const noexcept
 

Constructor & Destructor Documentation

◆ no_data()

mdbx::no_data::no_data ( const ::mdbx::error & )

◆ ~no_data()

virtual mdbx::no_data::~no_data ( )
virtualnoexcept

◆ mdbx::not_found

struct mdbx::not_found

Inherits mdbx::exception.

Public Member Functions

 not_found (const ::mdbx::error &)
 
virtual ~not_found () noexcept
 
- Public Member Functions inherited from mdbx::exception
 exception (const ::mdbx::error &) noexcept
 
 exception (const exception &)=default
 
 exception (exception &&)=default
 
exceptionoperator= (const exception &)=default
 
exceptionoperator= (exception &&)=default
 
virtual ~exception () noexcept
 
const ::mdbx::error error () const noexcept
 

Constructor & Destructor Documentation

◆ not_found()

mdbx::not_found::not_found ( const ::mdbx::error & )

◆ ~not_found()

virtual mdbx::not_found::~not_found ( )
virtualnoexcept

◆ mdbx::operation_not_permitted

struct mdbx::operation_not_permitted

Inherits mdbx::exception.

Public Member Functions

 operation_not_permitted (const ::mdbx::error &)
 
virtual ~operation_not_permitted () noexcept
 
- Public Member Functions inherited from mdbx::exception
 exception (const ::mdbx::error &) noexcept
 
 exception (const exception &)=default
 
 exception (exception &&)=default
 
exceptionoperator= (const exception &)=default
 
exceptionoperator= (exception &&)=default
 
virtual ~exception () noexcept
 
const ::mdbx::error error () const noexcept
 

Constructor & Destructor Documentation

◆ operation_not_permitted()

mdbx::operation_not_permitted::operation_not_permitted ( const ::mdbx::error & )

◆ ~operation_not_permitted()

virtual mdbx::operation_not_permitted::~operation_not_permitted ( )
virtualnoexcept

◆ mdbx::permission_denied_or_not_writeable

struct mdbx::permission_denied_or_not_writeable

Inherits mdbx::exception.

Public Member Functions

 permission_denied_or_not_writeable (const ::mdbx::error &)
 
virtual ~permission_denied_or_not_writeable () noexcept
 
- Public Member Functions inherited from mdbx::exception
 exception (const ::mdbx::error &) noexcept
 
 exception (const exception &)=default
 
 exception (exception &&)=default
 
exceptionoperator= (const exception &)=default
 
exceptionoperator= (exception &&)=default
 
virtual ~exception () noexcept
 
const ::mdbx::error error () const noexcept
 

Constructor & Destructor Documentation

◆ permission_denied_or_not_writeable()

mdbx::permission_denied_or_not_writeable::permission_denied_or_not_writeable ( const ::mdbx::error & )

◆ ~permission_denied_or_not_writeable()

virtual mdbx::permission_denied_or_not_writeable::~permission_denied_or_not_writeable ( )
virtualnoexcept

◆ mdbx::reader_slot_busy

struct mdbx::reader_slot_busy

Inherits mdbx::exception.

Public Member Functions

 reader_slot_busy (const ::mdbx::error &)
 
virtual ~reader_slot_busy () noexcept
 
- Public Member Functions inherited from mdbx::exception
 exception (const ::mdbx::error &) noexcept
 
 exception (const exception &)=default
 
 exception (exception &&)=default
 
exceptionoperator= (const exception &)=default
 
exceptionoperator= (exception &&)=default
 
virtual ~exception () noexcept
 
const ::mdbx::error error () const noexcept
 

Constructor & Destructor Documentation

◆ reader_slot_busy()

mdbx::reader_slot_busy::reader_slot_busy ( const ::mdbx::error & )

◆ ~reader_slot_busy()

virtual mdbx::reader_slot_busy::~reader_slot_busy ( )
virtualnoexcept

◆ mdbx::remote_media

struct mdbx::remote_media

Inherits mdbx::exception.

Public Member Functions

 remote_media (const ::mdbx::error &)
 
virtual ~remote_media () noexcept
 
- Public Member Functions inherited from mdbx::exception
 exception (const ::mdbx::error &) noexcept
 
 exception (const exception &)=default
 
 exception (exception &&)=default
 
exceptionoperator= (const exception &)=default
 
exceptionoperator= (exception &&)=default
 
virtual ~exception () noexcept
 
const ::mdbx::error error () const noexcept
 

Constructor & Destructor Documentation

◆ remote_media()

mdbx::remote_media::remote_media ( const ::mdbx::error & )

◆ ~remote_media()

virtual mdbx::remote_media::~remote_media ( )
virtualnoexcept

◆ mdbx::something_busy

struct mdbx::something_busy

Inherits mdbx::exception.

Public Member Functions

 something_busy (const ::mdbx::error &)
 
virtual ~something_busy () noexcept
 
- Public Member Functions inherited from mdbx::exception
 exception (const ::mdbx::error &) noexcept
 
 exception (const exception &)=default
 
 exception (exception &&)=default
 
exceptionoperator= (const exception &)=default
 
exceptionoperator= (exception &&)=default
 
virtual ~exception () noexcept
 
const ::mdbx::error error () const noexcept
 

Constructor & Destructor Documentation

◆ something_busy()

mdbx::something_busy::something_busy ( const ::mdbx::error & )

◆ ~something_busy()

virtual mdbx::something_busy::~something_busy ( )
virtualnoexcept

◆ mdbx::thread_mismatch

struct mdbx::thread_mismatch

Inherits mdbx::exception.

Public Member Functions

 thread_mismatch (const ::mdbx::error &)
 
virtual ~thread_mismatch () noexcept
 
- Public Member Functions inherited from mdbx::exception
 exception (const ::mdbx::error &) noexcept
 
 exception (const exception &)=default
 
 exception (exception &&)=default
 
exceptionoperator= (const exception &)=default
 
exceptionoperator= (exception &&)=default
 
virtual ~exception () noexcept
 
const ::mdbx::error error () const noexcept
 

Constructor & Destructor Documentation

◆ thread_mismatch()

mdbx::thread_mismatch::thread_mismatch ( const ::mdbx::error & )

◆ ~thread_mismatch()

virtual mdbx::thread_mismatch::~thread_mismatch ( )
virtualnoexcept

◆ mdbx::transaction_full

struct mdbx::transaction_full

Inherits mdbx::exception.

Public Member Functions

 transaction_full (const ::mdbx::error &)
 
virtual ~transaction_full () noexcept
 
- Public Member Functions inherited from mdbx::exception
 exception (const ::mdbx::error &) noexcept
 
 exception (const exception &)=default
 
 exception (exception &&)=default
 
exceptionoperator= (const exception &)=default
 
exceptionoperator= (exception &&)=default
 
virtual ~exception () noexcept
 
const ::mdbx::error error () const noexcept
 

Constructor & Destructor Documentation

◆ transaction_full()

mdbx::transaction_full::transaction_full ( const ::mdbx::error & )

◆ ~transaction_full()

virtual mdbx::transaction_full::~transaction_full ( )
virtualnoexcept

◆ mdbx::transaction_overlapping

struct mdbx::transaction_overlapping

Inherits mdbx::exception.

Public Member Functions

 transaction_overlapping (const ::mdbx::error &)
 
virtual ~transaction_overlapping () noexcept
 
- Public Member Functions inherited from mdbx::exception
 exception (const ::mdbx::error &) noexcept
 
 exception (const exception &)=default
 
 exception (exception &&)=default
 
exceptionoperator= (const exception &)=default
 
exceptionoperator= (exception &&)=default
 
virtual ~exception () noexcept
 
const ::mdbx::error error () const noexcept
 

Constructor & Destructor Documentation

◆ transaction_overlapping()

mdbx::transaction_overlapping::transaction_overlapping ( const ::mdbx::error & )

◆ ~transaction_overlapping()

virtual mdbx::transaction_overlapping::~transaction_overlapping ( )
virtualnoexcept

◆ mdbx::duplicated_lck_file

struct mdbx::duplicated_lck_file

Inherits mdbx::exception.

Public Member Functions

 duplicated_lck_file (const ::mdbx::error &)
 
virtual ~duplicated_lck_file () noexcept
 
- Public Member Functions inherited from mdbx::exception
 exception (const ::mdbx::error &) noexcept
 
 exception (const exception &)=default
 
 exception (exception &&)=default
 
exceptionoperator= (const exception &)=default
 
exceptionoperator= (exception &&)=default
 
virtual ~exception () noexcept
 
const ::mdbx::error error () const noexcept
 

Constructor & Destructor Documentation

◆ duplicated_lck_file()

mdbx::duplicated_lck_file::duplicated_lck_file ( const ::mdbx::error & )

◆ ~duplicated_lck_file()

virtual mdbx::duplicated_lck_file::~duplicated_lck_file ( )
virtualnoexcept

◆ mdbx::dangling_map_id

struct mdbx::dangling_map_id

Inherits mdbx::exception.

Public Member Functions

 dangling_map_id (const ::mdbx::error &)
 
virtual ~dangling_map_id () noexcept
 
- Public Member Functions inherited from mdbx::exception
 exception (const ::mdbx::error &) noexcept
 
 exception (const exception &)=default
 
 exception (exception &&)=default
 
exceptionoperator= (const exception &)=default
 
exceptionoperator= (exception &&)=default
 
virtual ~exception () noexcept
 
const ::mdbx::error error () const noexcept
 

Constructor & Destructor Documentation

◆ dangling_map_id()

mdbx::dangling_map_id::dangling_map_id ( const ::mdbx::error & )

◆ ~dangling_map_id()

virtual mdbx::dangling_map_id::~dangling_map_id ( )
virtualnoexcept

◆ mdbx::transaction_ousted

struct mdbx::transaction_ousted

Inherits mdbx::exception.

Public Member Functions

 transaction_ousted (const ::mdbx::error &)
 
virtual ~transaction_ousted () noexcept
 
- Public Member Functions inherited from mdbx::exception
 exception (const ::mdbx::error &) noexcept
 
 exception (const exception &)=default
 
 exception (exception &&)=default
 
exceptionoperator= (const exception &)=default
 
exceptionoperator= (exception &&)=default
 
virtual ~exception () noexcept
 
const ::mdbx::error error () const noexcept
 

Constructor & Destructor Documentation

◆ transaction_ousted()

mdbx::transaction_ousted::transaction_ousted ( const ::mdbx::error & )

◆ ~transaction_ousted()

virtual mdbx::transaction_ousted::~transaction_ousted ( )
virtualnoexcept

◆ mdbx::mvcc_retarded

struct mdbx::mvcc_retarded

Inherits mdbx::exception.

Public Member Functions

 mvcc_retarded (const ::mdbx::error &)
 
virtual ~mvcc_retarded () noexcept
 
- Public Member Functions inherited from mdbx::exception
 exception (const ::mdbx::error &) noexcept
 
 exception (const exception &)=default
 
 exception (exception &&)=default
 
exceptionoperator= (const exception &)=default
 
exceptionoperator= (exception &&)=default
 
virtual ~exception () noexcept
 
const ::mdbx::error error () const noexcept
 

Constructor & Destructor Documentation

◆ mvcc_retarded()

mdbx::mvcc_retarded::mvcc_retarded ( const ::mdbx::error & )

◆ ~mvcc_retarded()

virtual mdbx::mvcc_retarded::~mvcc_retarded ( )
virtualnoexcept

Macro Definition Documentation

◆ MDBX_DECLARE_EXCEPTION

#define MDBX_DECLARE_EXCEPTION ( NAME)
Value:
struct LIBMDBX_API_TYPE NAME : public exception { \
NAME(const ::mdbx::error &); \
virtual ~NAME() noexcept; \
}
#define LIBMDBX_API_TYPE
Definition mdbx.h:605

Function Documentation

◆ throw_allocators_mismatch()

LIBMDBX_API void mdbx::throw_allocators_mismatch ( )

◆ throw_bad_value_size()

LIBMDBX_API void mdbx::throw_bad_value_size ( )

◆ throw_incomparable_cursors()

LIBMDBX_API void mdbx::throw_incomparable_cursors ( )

◆ throw_max_length_exceeded()

LIBMDBX_API void mdbx::throw_max_length_exceeded ( )

◆ throw_out_range()

LIBMDBX_API void mdbx::throw_out_range ( )

◆ throw_too_small_target_buffer()

LIBMDBX_API void mdbx::throw_too_small_target_buffer ( )