Electroneum
cryptonote::DB_EXCEPTION Class Reference

A base class for BlockchainDB exceptions. More...

#include <blockchain_db.h>

Inheritance diagram for cryptonote::DB_EXCEPTION:
Collaboration diagram for cryptonote::DB_EXCEPTION:

Public Member Functions

virtual ~DB_EXCEPTION ()
 
const char * what () const throw ()
 

Protected Member Functions

 DB_EXCEPTION (const char *s)
 

Detailed Description

A base class for BlockchainDB exceptions.

Definition at line 194 of file blockchain_db.h.

Constructor & Destructor Documentation

◆ DB_EXCEPTION()

cryptonote::DB_EXCEPTION::DB_EXCEPTION ( const char *  s)
inlineprotected

Definition at line 200 of file blockchain_db.h.

200 : m(s) { }

◆ ~DB_EXCEPTION()

virtual cryptonote::DB_EXCEPTION::~DB_EXCEPTION ( )
inlinevirtual

Definition at line 203 of file blockchain_db.h.

203 { }

Member Function Documentation

◆ what()

const char* cryptonote::DB_EXCEPTION::what ( ) const
throw (
)
inline

Definition at line 205 of file blockchain_db.h.

206  {
207  return m.c_str();
208  }
Here is the caller graph for this function:

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