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

Public Types | |
| enum | ExceptionId { NOT_A_STEREO_BENCH, NOT_A_MONO_BENCH, NOT_A_PANO_BENCH, INVALID_BEGIN, INVALID_END, INVALID_OFFSET, WRONG_INDEXES_ORDER } |
| This enumeration defines exceptions id for the module datareader. More... | |
Public Member Functions | |
| DatareaderException (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 datareader.
| NOT_A_STEREO_BENCH |
not a stereo bench |
| NOT_A_MONO_BENCH |
not a mono bench |
| NOT_A_PANO_BENCH |
not a panormaic bench |
| INVALID_BEGIN |
ConfigReader: unvalid begin index. |
| INVALID_END |
ConfigReader: unvalid begin index. |
| INVALID_OFFSET |
ConfigReader: unvalid offset. |
| WRONG_INDEXES_ORDER |
ConfigReader: wrong begin end indexes order. |
Definition at line 24 of file datareaderException.hpp.
| jafar::datareader::DatareaderException::DatareaderException | ( | 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:33 for Jafar by doxygen 1.7.6.1 |
|