Jafar
|
Base class for all exceptions defined in the module localizer. More...
Base class for all exceptions defined in the module localizer.
Definition at line 17 of file localizerException.hpp.
#include <localizerException.hpp>
Public Types | |
enum | ExceptionId { BAD_SIZES, TOO_FEW_POINTS, INVALID_HOMOGRAPHY } |
This enumeration defines exceptions id for the module localizer. More... | |
Public Member Functions | |
LocalizerException (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 localizer.
BAD_SIZES |
vectors are not of the same size |
TOO_FEW_POINTS |
too few points to compute homography |
INVALID_HOMOGRAPHY |
homography is invalid according to your criterium |
Definition at line 24 of file localizerException.hpp.
jafar::localizer::LocalizerException::LocalizerException | ( | 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:42 for Jafar by doxygen 1.7.6.1 |