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 201 of file blockchain_db.h.

Constructor & Destructor Documentation

◆ DB_EXCEPTION()

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

Definition at line 207 of file blockchain_db.h.

207 : m(s) { }

◆ ~DB_EXCEPTION()

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

Definition at line 210 of file blockchain_db.h.

210 { }

Member Function Documentation

◆ what()

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

Definition at line 212 of file blockchain_db.h.

213  {
214  return m.c_str();
215  }

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