Impact Acquire SDK C++
|
A base class for device manager related exceptions. More...
#include <mvIMPACT_acquire.h>
Public Member Functions | |
EDeviceManager (const std::string &errorString, const std::string &errorOrigin, TDMR_ERROR errorCode) | |
Creates a new mvIMPACT::acquire::EDeviceManager object. | |
int | getErrorCode (void) const |
Returns a unique numerical representation for this error. | |
std::string | getErrorCodeAsString (void) const |
Returns a string representation of the error associated with the exception. | |
std::string | getErrorOrigin (void) const |
Returns information about the origin of the error. | |
std::string | getErrorString (void) const |
Returns an error string containing information about the reason for the error. | |
virtual | ~EDeviceManager () throw () |
Static Public Member Functions | |
static std::string | getErrorCodeAsString (int errorCode) |
Returns a string representation of a error. | |
A base class for device manager related exceptions.
|
inlineexplicit |
Creates a new mvIMPACT::acquire::EDeviceManager object.
[in] | errorString | The error string. |
[in] | errorOrigin | The error origin. |
[in] | errorCode | The error code. |
|
inlinevirtual |
|
inlineinherited |
Returns a unique numerical representation for this error.
|
inlinestaticinherited |
Returns a string representation of a error.
This function will return the name of the enum of the error code.
EXAMPLE
In case of error -2102 this function would return mvIMPACT::acquire::DMR_DRV_ALREADY_IN_USE, which is the error codes corresponding enum name.
[in] | errorCode | The error code to query a string representation for. |
|
inlineinherited |
Returns a string representation of the error associated with the exception.
This function will return the name of the enum of the error code.
EXAMPLE
In case of error -2102 this function would return mvIMPACT::acquire::DMR_DRV_ALREADY_IN_USE, which is the error codes corresponding enum name.
|
inlineinherited |
Returns information about the origin of the error.
The string returned by this function will contain the name of the function and the line number where the exception was raised.
|
inlineinherited |
Returns an error string containing information about the reason for the error.