Jafar
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Types | Public Member Functions | Static Protected Member Functions | Protected Attributes
jafar::premodeler::PremodelerException Class Reference

Base class for all exceptions defined in the module premodeler. More...


Detailed Description

Base class for all exceptions defined in the module premodeler.

Definition at line 17 of file premodelerException.hpp.

#include <premodelerException.hpp>

Inheritance diagram for jafar::premodeler::PremodelerException:
Inheritance graph
[legend]

List of all members.

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

Member Enumeration Documentation

This enumeration defines exceptions id for the module premodeler.

Enumerator:
NOT_INITIALISED 

premodeler engine is not initialised

PARAMETERS_ARE_NOT_SET 

parameters are not set

WRONG_IMAGE_ID 

image id is wrong

OBJECT_SERIE_NOT_CREATED 

object images series was not created

BAD_DETECTOR_TYPE 

detector type must be SIFT, HARRIS or SURF

ID_NOT_FOUND 

no such id is known

Definition at line 24 of file premodelerException.hpp.


Constructor & Destructor Documentation

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_.

Parameters:
id_exception id
message_message used for debug
file_where the exception was thrown
line_where the exception was thrown

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on Wed Oct 15 2014 00:37:43 for Jafar by doxygen 1.7.6.1
LAAS-CNRS