Jafar
|
This class defines some standard exceptions to be used from all modules. More...
This class defines some standard exceptions to be used from all modules.
For ease of use, the macros defined in jafarMacro.hpp. See also pageJafarError.
Definition at line 77 of file jafarException.hpp.
#include <jafarException.hpp>
Public Types | |
enum | ExceptionId { ASSERT, PRECONDITION, POSTCONDITION, INVARIANT, RUN_TIME, IO_STREAM, NUMERIC, INVALID_PARAM } |
This enumeration defines exceptions id of JafarException. More... | |
Public Member Functions | |
JafarException (ExceptionId id_, const std::string &message_, const std::string &module_, 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 |
This enumeration defines exceptions id of JafarException.
Definition at line 82 of file jafarException.hpp.
jafar::kernel::JafarException::JafarException | ( | ExceptionId | id_, |
const std::string & | message_, | ||
const std::string & | module_, | ||
const std::string & | file_, | ||
int | line_ | ||
) | throw () |
Constructor.
You should not use this constructor directly, prefer the macros.
id_ | exception id |
message_ | message used for debug |
module_ | module from which exception was thrown |
file_ | where the exception was thown |
line_ | where the exception was thown |
Generated on Wed Oct 15 2014 00:37:40 for Jafar by doxygen 1.7.6.1 |