An exception thrown in case of a mvIMPACT.acquire.PROPHANDLING_CANT_SERIALIZE_DATA error.
More...
|
| | 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") |
◆ __init__()
| __init__ |
( |
| self, |
|
|
| msg, |
|
|
| errorOrigin, |
|
|
| boMsgIsNameOnly = True ) |
◆ __getitem__()
| __getitem__ |
( |
| self, |
|
|
| index ) |
|
inherited |
◆ __str__()
◆ getArgs()
◆ getErrorCode()
Returns a unique numerical representation for this error.
◆ getErrorCodeAsString()
| getErrorCodeAsString |
( |
* | args | ) |
|
|
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.
- Parameters
-
| errorCode | [in] The error code to query a string representation for. |
◆ getErrorOrigin()
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.
◆ getErrorString()
Returns an error string containing information about the reason for the error.
◆ args
| args = property (lib_mvIMPACT_acquire.ImpactAcquireException_getArgs, None, None, None) |
|
staticinherited |
◆ errorCode
| errorCode = property (lib_mvIMPACT_acquire.ImpactAcquireException_getErrorCode, None, None, None) |
|
staticinherited |
Returns a unique numerical representation for this error.
◆ errorCodeAsString
| errorCodeAsString = property (lib_mvIMPACT_acquire.ImpactAcquireException_getErrorCodeAsString, None, None, None) |
|
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.
◆ errorOrigin
| errorOrigin = property (lib_mvIMPACT_acquire.ImpactAcquireException_getErrorOrigin, None, None, None) |
|
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.
◆ errorString
| errorString = property (lib_mvIMPACT_acquire.ImpactAcquireException_getErrorString, None, None, None) |
|
staticinherited |
Returns an error string containing information about the reason for the error.
◆ thisown
| thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag") |
|
static |