Jafar
|
Base class for all exceptions defined in the module premodeler. More...
Base class for all exceptions defined in the module premodeler.
Definition at line 17 of file premodelerException.hpp.
#include <premodelerException.hpp>
Public Types | |
enum | ExceptionId { NOT_INITIALISED, PARAMETERS_ARE_NOT_SET, WRONG_IMAGE_ID, OBJECT_SERIE_NOT_CREATED, BAD_DETECTOR_TYPE, ID_NOT_FOUND, SENSOR_NAME_NOT_SET } |
This enumeration defines exceptions id for the module premodeler. More... | |
Public Member Functions | |
PremodelerException (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 premodeler.
Definition at line 24 of file premodelerException.hpp.
jafar::premodeler::PremodelerException::PremodelerException | ( | 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 |