Classes | Macros
GenICam Base Module Exceptions
Collaboration diagram for GenICam Base Module Exceptions:

Classes

class  GenICam::ExceptionReporter< E >
 printf like creation of exceptions More...
 

Macros

#define GENERIC_EXCEPTION   GenICam::ExceptionReporter<GenICam::GenericException>(__FILE__, __LINE__, "GenericException" ).Report
 Fires an exception, e.g. throw EXCEPTION("%ld too large", Value);.
 
#define INVALID_ARGUMENT_EXCEPTION   GenICam::ExceptionReporter<GenICam::InvalidArgumentException>(__FILE__, __LINE__, "InvalidArgumentException" ).Report
 Fires an invalid argument exception, e.g. throw INVALID_ARGUMENT("%ld too large", Value);.
 
#define OUT_OF_RANGE_EXCEPTION   GenICam::ExceptionReporter<GenICam::OutOfRangeException>(__FILE__, __LINE__, "OutOfRangeException" ).Report
 Fires an out of range exception, e.g. throw OUT_OF_RANGE_EXCEPTION("%ld too large", Value);.
 
#define PROPERTY_EXCEPTION   GenICam::ExceptionReporter<GenICam::PropertyException>(__FILE__, __LINE__, "PropertyException" ).Report
 Fires an property exception, e.g. throw PROPERTY_EXCEPTION("%ld too large", Value);.
 
#define RUNTIME_EXCEPTION   GenICam::ExceptionReporter<GenICam::RuntimeException>(__FILE__, __LINE__, "RuntimeException" ).Report
 Fires a runtime exception, e.g. throw RUNTIME_EXCEPTION("buh!")
 
#define LOGICAL_ERROR_EXCEPTION   GenICam::ExceptionReporter<GenICam::LogicalErrorException>(__FILE__, __LINE__, "LogicalErrorException" ).Report
 Fires a logical error exception, e.g. throw LOGICAL_ERROR_EXCEPTION("Should never reach this point")
 
#define ACCESS_EXCEPTION   GenICam::ExceptionReporter<GenICam::AccessException>(__FILE__, __LINE__, "AccessException" ).Report
 Fires a access error exception, e.g. throw ACCESS_ERROR_EXCEPTION("Not everybody")
 
#define TIMEOUT_EXCEPTION   GenICam::ExceptionReporter<GenICam::TimeoutException>(__FILE__, __LINE__,"TimeoutException" ).Report
 Fires a timeout error exception, e.g. throw TIMEOUT_EXCEPTION("Not everybody")
 
#define DYNAMICCAST_EXCEPTION   GenICam::ExceptionReporter<GenICam::DynamicCastException>(__FILE__, __LINE__, "DynamicCastException" ).Report
 Fires a dynamic cast exception, e.g. throw DYNAMICCAST_EXCEPTION("Not everybody")
 
#define CHECK_RANGE_I64(_Value, _Min, _Max, _Inc)
 Range check for int64.
 
#define CHECK_RANGE_FLT(_Value, _Min, _Max)
 Range check for float.
 
#define CHECK_DYNAMIC_CAST_POINTER(_Pointer)
 Checks if a dynamic_cast is possible.
 

Detailed Description

Banner_PG.png
tab_1.png
tab_2.png
tab_3.png
tab_4.png

© 2006-2014 Basler (Tue Jul 22 2014 11:41:23)