oos::database_exception Class Reference
An object exception class. More...
#include <database_exception.hpp>
Inherits std::exception.
Public Member Functions | |
database_exception (const char *source, const char *what) | |
virtual const char * | what () const throw () |
const char * | source () const throw () |
Detailed Description
An object exception class.
This kind of exception is thrown, when an object dealing error occurs.
Constructor & Destructor Documentation
oos::database_exception::database_exception | ( | const char * | source, |
const char * | what | ||
) |
Creates a database_exception
- Parameters
-
source The source of the exception. what The message of the exception.
Member Function Documentation
const char* oos::database_exception::source | ( | ) | const | |
throw | ( | |||
) |
Returns the source of the exception
- Returns
- The source of this exception.
|
virtual |
Returns the message of the exception
- Returns
- The message of this exception.
The documentation for this class was generated from the following file:
- database/database_exception.hpp