Skip to content

Class mdbx::fatal

ClassList > mdbx > fatal

Fatal exception that leads to termination anyway in dangerous unrecoverable cases.

  • #include <mdbx.h++>

Inherits the following classes: mdbx::exception

Public Functions

Type Name
fatal (const ::mdbx::error & err) noexcept
Constructs the fatal exception from the given error.
fatal (const exception & src) noexcept
Constructs the fatal exception from the given exception.
fatal (exception && src) noexcept
Constructs the fatal exception from the given exception.
fatal (const fatal & src) noexcept
Copy constructor.
fatal (fatal && src) noexcept
Move constructor.
fatal & operator= (fatal &&) = default
Move assignment operator.
fatal & operator= (const fatal &) = default
Copy assignment operator.
virtual ~fatal () noexcept
Destroys the fatal exception.

Public Functions inherited from mdbx::exception

See mdbx::exception

Type Name
const ::mdbx::error error () noexcept const
Returns the error information.
exception (const ::mdbx::error & err)
Constructs the exception from the given error.
exception (const exception &) = default
Copy constructor.
exception (exception &&) = default
Move constructor.
exception & operator= (const exception &) = default
Copy assignment operator.
exception & operator= (exception &&) = default
Move assignment operator.
virtual ~exception () noexcept
Destroys the exception.

Public Functions Documentation

function fatal [1/5]

Constructs the fatal exception from the given error.

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

Parameters:

  • err The error information.

function fatal [2/5]

Constructs the fatal exception from the given exception.

inline mdbx::fatal::fatal (
    const exception & src
) noexcept

Parameters:

  • src The source exception.

function fatal [3/5]

Constructs the fatal exception from the given exception.

inline mdbx::fatal::fatal (
    exception && src
) noexcept

Parameters:

  • src The source exception.

function fatal [4/5]

Copy constructor.

inline mdbx::fatal::fatal (
    const fatal & src
) noexcept

Parameters:

  • src The source exception.

function fatal [5/5]

Move constructor.

inline mdbx::fatal::fatal (
    fatal && src
) noexcept

Parameters:

  • src The source exception.

function operator=

Move assignment operator.

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

Returns:

A reference to this instance.


function operator=

Copy assignment operator.

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

Returns:

A reference to this instance.


function ~fatal

Destroys the fatal exception.

virtual mdbx::fatal::~fatal () noexcept


The documentation for this class was generated from the following file mdbx.h++