Classes | |
class | GENICAM_NAMESPACE::ExceptionReporter< E > |
printf like creation of exceptions More... | |
Macros | |
#define | ACCESS_EXCEPTION GENICAM_NAMESPACE::ExceptionReporter<GENICAM_NAMESPACE::AccessException>(__FILE__, __LINE__, "AccessException" ).Report |
Fires a access exception, e.g. throw ACCESS_EXCEPTION("Not everybody") More... | |
#define | BAD_ALLOC_EXCEPTION GENICAM_NAMESPACE::ExceptionReporter<GENICAM_NAMESPACE::BadAllocException>(__FILE__, __LINE__, "BadAllocException" ).Report |
Fires a bad alloc exception, e.g. throw BAD_ALLOC_EXCEPTION();. More... | |
#define | CHECK_DYNAMIC_CAST_POINTER(_Pointer) |
Checks if a dynamic_cast is possible. More... | |
#define | CHECK_RANGE_FLT(_Value, _Min, _Max) |
Range check for float. More... | |
#define | CHECK_RANGE_I64(_Value, _Min, _Max, _Inc) |
Range check for int64. More... | |
#define | DYNAMICCAST_EXCEPTION GENICAM_NAMESPACE::ExceptionReporter<GENICAM_NAMESPACE::DynamicCastException>(__FILE__, __LINE__, "DynamicCastException" ).Report |
Fires a dynamic cast exception, e.g. throw DYNAMICCAST_EXCEPTION("Not everybody") More... | |
#define | GENERIC_EXCEPTION GENICAM_NAMESPACE::ExceptionReporter<GENICAM_NAMESPACE::GenericException>(__FILE__, __LINE__).Report |
Fires a generic exception, e.g. throw GENERIC_EXCEPTION("%ld too large", Value);. More... | |
#define | INVALID_ARGUMENT_EXCEPTION GENICAM_NAMESPACE::ExceptionReporter<GENICAM_NAMESPACE::InvalidArgumentException>(__FILE__, __LINE__, "InvalidArgumentException" ).Report |
Fires an invalid argument exception, e.g. throw INVALID_ARGUMENT_EXCEPTION("%ld too large", Value);. More... | |
#define | LOGICAL_ERROR_EXCEPTION GENICAM_NAMESPACE::ExceptionReporter<GENICAM_NAMESPACE::LogicalErrorException>(__FILE__, __LINE__, "LogicalErrorException" ).Report |
Fires a logical error exception, e.g. throw LOGICAL_ERROR_EXCEPTION("Should never reach this point") More... | |
#define | OUT_OF_RANGE_EXCEPTION GENICAM_NAMESPACE::ExceptionReporter<GENICAM_NAMESPACE::OutOfRangeException>(__FILE__, __LINE__, "OutOfRangeException" ).Report |
Fires an out of range exception, e.g. throw OUT_OF_RANGE_EXCEPTION("%ld too large", Value);. More... | |
#define | PROPERTY_EXCEPTION GENICAM_NAMESPACE::ExceptionReporter<GENICAM_NAMESPACE::PropertyException>(__FILE__, __LINE__, "PropertyException" ).Report |
Fires an property exception, e.g. throw PROPERTY_EXCEPTION("%ld too large", Value);. More... | |
#define | RUNTIME_EXCEPTION GENICAM_NAMESPACE::ExceptionReporter<GENICAM_NAMESPACE::RuntimeException>(__FILE__, __LINE__, "RuntimeException" ).Report |
Fires a runtime exception, e.g. throw RUNTIME_EXCEPTION("buh!") More... | |
#define | TIMEOUT_EXCEPTION GENICAM_NAMESPACE::ExceptionReporter<GENICAM_NAMESPACE::TimeoutException>(__FILE__, __LINE__,"TimeoutException" ).Report |
Fires a timeout error exception, e.g. throw TIMEOUT_EXCEPTION("Not everybody") More... | |
#define ACCESS_EXCEPTION GENICAM_NAMESPACE::ExceptionReporter<GENICAM_NAMESPACE::AccessException>(__FILE__, __LINE__, "AccessException" ).Report |
Fires a access exception, e.g. throw ACCESS_EXCEPTION("Not everybody")
Definition at line 252 of file GCException.h.
#define BAD_ALLOC_EXCEPTION GENICAM_NAMESPACE::ExceptionReporter<GENICAM_NAMESPACE::BadAllocException>(__FILE__, __LINE__, "BadAllocException" ).Report |
Fires a bad alloc exception, e.g. throw BAD_ALLOC_EXCEPTION();.
Definition at line 234 of file GCException.h.
#define CHECK_DYNAMIC_CAST_POINTER | ( | _Pointer | ) |
Checks if a dynamic_cast is possible.
Definition at line 279 of file GCException.h.
#define CHECK_RANGE_FLT | ( | _Value, | |
_Min, | |||
_Max | |||
) |
Range check for float.
Definition at line 272 of file GCException.h.
#define CHECK_RANGE_I64 | ( | _Value, | |
_Min, | |||
_Max, | |||
_Inc | |||
) |
Range check for int64.
Definition at line 261 of file GCException.h.
#define DYNAMICCAST_EXCEPTION GENICAM_NAMESPACE::ExceptionReporter<GENICAM_NAMESPACE::DynamicCastException>(__FILE__, __LINE__, "DynamicCastException" ).Report |
Fires a dynamic cast exception, e.g. throw DYNAMICCAST_EXCEPTION("Not everybody")
Definition at line 258 of file GCException.h.
#define GENERIC_EXCEPTION GENICAM_NAMESPACE::ExceptionReporter<GENICAM_NAMESPACE::GenericException>(__FILE__, __LINE__).Report |
Fires a generic exception, e.g. throw GENERIC_EXCEPTION("%ld too large", Value);.
Definition at line 231 of file GCException.h.
#define INVALID_ARGUMENT_EXCEPTION GENICAM_NAMESPACE::ExceptionReporter<GENICAM_NAMESPACE::InvalidArgumentException>(__FILE__, __LINE__, "InvalidArgumentException" ).Report |
Fires an invalid argument exception, e.g. throw INVALID_ARGUMENT_EXCEPTION("%ld too large", Value);.
Definition at line 237 of file GCException.h.
#define LOGICAL_ERROR_EXCEPTION GENICAM_NAMESPACE::ExceptionReporter<GENICAM_NAMESPACE::LogicalErrorException>(__FILE__, __LINE__, "LogicalErrorException" ).Report |
Fires a logical error exception, e.g. throw LOGICAL_ERROR_EXCEPTION("Should never reach this point")
Definition at line 249 of file GCException.h.
#define OUT_OF_RANGE_EXCEPTION GENICAM_NAMESPACE::ExceptionReporter<GENICAM_NAMESPACE::OutOfRangeException>(__FILE__, __LINE__, "OutOfRangeException" ).Report |
Fires an out of range exception, e.g. throw OUT_OF_RANGE_EXCEPTION("%ld too large", Value);.
Definition at line 240 of file GCException.h.
#define PROPERTY_EXCEPTION GENICAM_NAMESPACE::ExceptionReporter<GENICAM_NAMESPACE::PropertyException>(__FILE__, __LINE__, "PropertyException" ).Report |
Fires an property exception, e.g. throw PROPERTY_EXCEPTION("%ld too large", Value);.
Definition at line 243 of file GCException.h.
#define RUNTIME_EXCEPTION GENICAM_NAMESPACE::ExceptionReporter<GENICAM_NAMESPACE::RuntimeException>(__FILE__, __LINE__, "RuntimeException" ).Report |
Fires a runtime exception, e.g. throw RUNTIME_EXCEPTION("buh!")
Definition at line 246 of file GCException.h.
#define TIMEOUT_EXCEPTION GENICAM_NAMESPACE::ExceptionReporter<GENICAM_NAMESPACE::TimeoutException>(__FILE__, __LINE__,"TimeoutException" ).Report |
Fires a timeout error exception, e.g. throw TIMEOUT_EXCEPTION("Not everybody")
Definition at line 255 of file GCException.h.