|
Jafar
|
Base class for all exceptions defined in the module kernel. More...
Base class for all exceptions defined in the module kernel.
Definition at line 17 of file kernelException.hpp.
#include <kernelException.hpp>

Public Types | |
| enum | ExceptionId { KEYVALUEFILE_UNKNOWN_KEY, KEYVALUEFILE_INVALID_LINE, CSVFILE_INVALID_LINE, CSVFILE_UNKNOWN_COLUMN_NAME, CSVFILE_UNKNOWN_LINE, CSVFILE_UNKNOWN_COLUMN, THREAD_ERROR } |
| This enumeration defines exceptions id for the module kernel. More... | |
Public Member Functions | |
| KernelException (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 |
This enumeration defines exceptions id for the module kernel.
| KEYVALUEFILE_UNKNOWN_KEY |
KeyValueFile: unknown key. |
| KEYVALUEFILE_INVALID_LINE |
KeyValueFile: invalide line in file. |
| CSVFILE_INVALID_LINE |
CSVFile: invalide line in file. |
| CSVFILE_UNKNOWN_COLUMN_NAME |
CSVFile: unknown column name. |
| CSVFILE_UNKNOWN_LINE |
CSVFile: unknown line in file. |
| CSVFILE_UNKNOWN_COLUMN |
CSVFile: unknown column in file. |
| THREAD_ERROR |
Thread error. |
Definition at line 24 of file kernelException.hpp.
| jafar::kernel::KernelException::KernelException | ( | 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 thown |
| line_ | where the exception was thown |
| Generated on Wed Oct 15 2014 00:37:40 for Jafar by doxygen 1.7.6.1 |
|