Jafar
|
Base class for all exceptions defined in the module oracle. More...
Base class for all exceptions defined in the module oracle.
Definition at line 17 of file oracleException.hpp.
#include <oracleException.hpp>
Public Types | |
enum | ExceptionId { NO_SUCH_MODEL_IN_DATABASE } |
This enumeration defines exceptions id for the module oracle. | |
Public Member Functions | |
OracleException (ExceptionId id_, const std::string &message_, const std::string &file_, int line_) throw () | |
Constructor. | |
ExceptionId | getExceptionId () const throw () |
Static Protected Member Functions | |
static std::string | exceptionIdToString (ExceptionId id_) throw () |
Protected Attributes | |
ExceptionId | id |
jafar::oracle::OracleException::OracleException | ( | ExceptionId | id_, |
const std::string & | message_, | ||
const std::string & | file_, | ||
int | line_ | ||
) | throw () |
Constructor.
You should not use this constructor directly, prefer macros jfrThrowEx or jfrCreateEx which fill for you parameters file_
and line_
.
id_ | exception id |
message_ | message used for debug |
file_ | where the exception was thrown |
line_ | where the exception was thrown |
Generated on Wed Oct 15 2014 00:37:43 for Jafar by doxygen 1.7.6.1 |