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

Public Types | |
| enum | ExceptionId { VIEWSMANAGER_UNKNOWN_CAMERA_TYPE, VIEWSMANAGER_POS_NOT_FOUND, ADAPTER_INVALID_CONSTRAINT, FILESYSTEM_ERROR, POS_ALEREADY_EXISTS, NO_PIXEL_DATA, NO_PROJECTION_DATA, NO_DATA_SAVED, BAD_SIZES, NO_ID_GIVEN, NO_CONTAINER_GIVEN } |
| This enumeration defines exceptions id for the module bundler. More... | |
Public Member Functions | |
| BundlerException (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 bundler.
| VIEWSMANAGER_UNKNOWN_CAMERA_TYPE |
ViewsManager: unknown camera type. |
| VIEWSMANAGER_POS_NOT_FOUND |
ViewsManager: index of pos file not found. |
| ADAPTER_INVALID_CONSTRAINT |
ModelerAdapter: invalid outliers control value. |
| FILESYSTEM_ERROR |
File system error. |
| POS_ALEREADY_EXISTS |
A reference with same id aleaready exists. |
| NO_PIXEL_DATA |
no pixel data corresponds to the view id |
| NO_PROJECTION_DATA |
no projection data corresponds to the view id |
| BAD_SIZES |
< no data was saved the data set size doesn't match entered data |
| NO_ID_GIVEN |
no id were given |
| NO_CONTAINER_GIVEN |
given an empty container while in multi camera mode |
Definition at line 24 of file bundlerException.hpp.
| jafar::bundler::BundlerException::BundlerException | ( | 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:32 for Jafar by doxygen 1.7.6.1 |
|