#include <exceptions.h>
SwatDBException. SwatDBException is the base class for all exceptions thrown in SwatDB system. It is based on std::exception and other exceptions defined below inherit from this class. 
◆ SwatDBException()
  
  | 
        
          | SwatDBException::SwatDBException | ( | const std::string & | msg | ) |  |  | inlineexplicit | 
 
SwatDBExcpetion constructor. Requires string message 
 
 
◆ ~SwatDBException()
  
  | 
        
          | virtual SwatDBException::~SwatDBException | ( |  | ) |  |  
          | throw | ( |  |  
          |  | ) |  |  |  | inlinevirtual | 
 
 
◆ what()
  
  | 
        
          | virtual const char* SwatDBException::what | ( |  | ) | const |  
          | throw | ( |  |  
          |  | ) |  |  |  | inlinevirtual | 
 
Returns the error message of the exception. 
- Precondition
- The exception is thrown and caught. 
- Postcondition
- The error message is returned.
- Returns
- Pointer to the error message. 
 
 
◆ message
  
  | 
        
          | std::string SwatDBException::message |  | protected | 
 
Message that this exception will output. 
 
 
The documentation for this class was generated from the following file: