Jafar
|
Base class for all exceptions defined in the module facetsmap. More...
Base class for all exceptions defined in the module facetsmap.
Definition at line 17 of file facetsmapException.hpp.
#include <facetsmapException.hpp>
Public Types | |
enum | ExceptionId { BAD_HOMOGRAPHY, TOO_FAR, INVALID_DISP, NOT_IMPLEMENTED } |
This enumeration defines exceptions id for the module facetsmap. More... | |
Public Member Functions | |
FacetsmapException (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 facetsmap.
BAD_HOMOGRAPHY |
a bad homography was computed |
TOO_FAR |
the facet is too far |
INVALID_DISP |
the disparity is negative |
Definition at line 24 of file facetsmapException.hpp.
jafar::facetsmap::FacetsmapException::FacetsmapException | ( | 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:35 for Jafar by doxygen 1.7.6.1 |