|
Impact Acquire SDK Python
|
A base class for device manager related exceptions. More...
Public Member Functions | |
| __getitem__ (self, index) | |
| __init__ (self, errorString, errorOrigin, errorCode) | |
| Creates a new mvIMPACT.acquire.EDeviceManager object. | |
| __str__ (self) | |
| getArgs (self) | |
| getErrorCode (self) | |
| Returns a unique numerical representation for this error. | |
| getErrorOrigin (self) | |
| Returns information about the origin of the error. | |
| getErrorString (self) | |
| Returns an error string containing information about the reason for the error. | |
Static Public Member Functions | |
| getErrorCodeAsString (*args) | |
| Returns a string representation of the error associated with the exception. | |
Properties | |
| args = property (lib_mvIMPACT_acquire.ImpactAcquireException_getArgs, None, None, None) | |
| errorCode = property (lib_mvIMPACT_acquire.ImpactAcquireException_getErrorCode, None, None, None) | |
| Returns a unique numerical representation for this error. | |
| errorCodeAsString = property (lib_mvIMPACT_acquire.ImpactAcquireException_getErrorCodeAsString, None, None, None) | |
| Returns a string representation of the error associated with the exception. | |
| errorOrigin = property (lib_mvIMPACT_acquire.ImpactAcquireException_getErrorOrigin, None, None, None) | |
| Returns information about the origin of the error. | |
| errorString = property (lib_mvIMPACT_acquire.ImpactAcquireException_getErrorString, None, None, None) | |
| Returns an error string containing information about the reason for the error. | |
| thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag") | |
A base class for device manager related exceptions.
| __init__ | ( | self, | |
| errorString, | |||
| errorOrigin, | |||
| errorCode ) |
Creates a new mvIMPACT.acquire.EDeviceManager object.
| errorString | [in] The error string. |
| errorOrigin | [in] The error origin. |
| errorCode | [in] The error code. |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
Returns a unique numerical representation for this error.
|
staticinherited |
Returns a string representation of the error associated with the exception.
OVERLOAD 1:
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.
OVERLOAD 2: 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.
| errorCode | [in] The error code to query a string representation for. |
|
inherited |
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.
|
inherited |
Returns an error string containing information about the reason for the error.
|
staticinherited |
|
staticinherited |
Returns a unique numerical representation for this error.
|
staticinherited |
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.
|
staticinherited |
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.
|
staticinherited |
Returns an error string containing information about the reason for the error.
|
static |