Base class for all BadgerDB-specific exceptions.  
 More...
#include <badgerdb_exception.h>
Base class for all BadgerDB-specific exceptions. 
Definition at line 18 of file badgerdb_exception.h.
 
  
  
      
        
          | badgerdb::BadgerDbException::BadgerDbException  | 
          ( | 
          const std::string &  | 
          msg | ) | 
           | 
         
       
   | 
  
explicit   | 
  
 
Constructs a new exception with the given message.
- Parameters
 - 
  
    | msg | Message with information about the exception.  | 
  
   
Definition at line 12 of file badgerdb_exception.cpp.
 
 
  
  
      
        
          | virtual badgerdb::BadgerDbException::~BadgerDbException  | 
          ( | 
           | ) | 
           | 
         
        
          | throw  | ( |  | 
         
        
           | ) |  |  | 
         
       
   | 
  
inlinevirtual   | 
  
 
Destroys the exception. Does nothing special; just included to make the compiler happy. 
Definition at line 31 of file badgerdb_exception.h.
 
 
  
  
      
        
          | virtual const std::string& badgerdb::BadgerDbException::message  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inlinevirtual   | 
  
 
Returns a message describing the problem that caused this exception.
- Returns
 - Message describing the problem that caused this exception. 
 
Definition at line 38 of file badgerdb_exception.h.
 
 
  
  
      
        
          | virtual const char* badgerdb::BadgerDbException::what  | 
          ( | 
           | ) | 
           const | 
         
        
          | throw  | ( |  | 
         
        
           | ) |  |  | 
         
       
   | 
  
inlinevirtual   | 
  
 
Returns a description of the exception.
- Returns
 - Description of the exception. 
 
Definition at line 45 of file badgerdb_exception.h.
 
 
Formats this exception for printing on the given stream.
- Parameters
 - 
  
    | out | Stream to print exception to.  | 
    | exception | Exception to print.  | 
  
   
- Returns
 - Stream with exception printed. 
 
Definition at line 54 of file badgerdb_exception.h.
   56     out << exception.message();
 
 
 
 
  
  
      
        
          | std::string badgerdb::BadgerDbException::message_ | 
         
       
   | 
  
protected   | 
  
 
Message describing the problem that caused this exception. 
Definition at line 64 of file badgerdb_exception.h.
 
 
The documentation for this class was generated from the following files: