Standard GenICam Exceptions. More...
#include <cassert>
#include <cstdarg>
#include <exception>
#include <sstream>
#include <stdio.h>
#include <stdarg.h>
#include <Base/GCTypes.h>
#include <Base/GCString.h>
Namespaces | |
GenICam | |
Contains definitions of GenICam types and exceptions. | |
Macros | |
#define | DECLARE_EXCEPTION(name) |
#define | GENERIC_EXCEPTION GenICam::ExceptionReporter<GenICam::GenericException>(__FILE__, __LINE__).Report |
Fires a generic exception, e.g. throw GENERIC_EXCEPTION("%ld too large", Value);. | |
#define | BAD_ALLOC_EXCEPTION GenICam::ExceptionReporter<GenICam::BadAllocException>(__FILE__, __LINE__, "BadAllocException" ).Report |
Fires a bad alloc exception, e.g. throw BAD_ALLOC_EXCEPTION();. | |
#define | INVALID_ARGUMENT_EXCEPTION GenICam::ExceptionReporter<GenICam::InvalidArgumentException>(__FILE__, __LINE__, "InvalidArgumentException" ).Report |
Fires an invalid argument exception, e.g. throw INVALID_ARGUMENT_EXCEPTION("%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 exception, e.g. throw ACCESS_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. | |
Standard GenICam Exceptions.