Impact Acquire SDK Java
|
A base class for exceptions generated by Impact Acquire. More...
Public Member Functions | |
synchronized void | delete () |
int | getErrorCode () |
Returns a unique numerical representation for this error. | |
String | getErrorCodeAsString () |
Returns a string representation of the error associated with the exception. | |
String | getErrorOrigin () |
Returns information about the origin of the error. | |
String | getErrorString () |
Returns an error string containing information about the reason for the error. | |
String | getMessage () |
ImpactAcquireException (String errorString, String errorOrigin, int errorCode) | |
Constructs a new mvIMPACT.acquire.ImpactAcquireException object. | |
Static Public Member Functions | |
static String | getErrorCodeAsString (int errorCode) |
Returns a string representation of a error. | |
Protected Member Functions | |
void | finalize () |
ImpactAcquireException (long cPtr, boolean cMemoryOwn) | |
Static Protected Member Functions | |
static long | swigRelease (ImpactAcquireException obj) |
Protected Attributes | |
transient boolean | swigCMemOwn |
A base class for exceptions generated by Impact Acquire.
|
protected |
ImpactAcquireException | ( | String | errorString, |
String | errorOrigin, | ||
int | errorCode ) |
Constructs a new mvIMPACT.acquire.ImpactAcquireException object.
errorString | [in] The string representation of the error. |
errorOrigin | [in] The origin of the error (function name and line) |
errorCode | [in] The numerical representation of the error. |
synchronized void delete | ( | ) |
Reimplemented in ECantAccessData, ECantAllocateNewList, ECantRegisterComponent, ECantSerializeData, EComponent, EComponentIDInvalid, EComponentNotFound, EDeviceManager, EImplementationMissing, EIncompatibleComponents, EInputBufferTooSmall, EInvalidFileContent, EInvalidInputParameter, EInvalidListID, EInvalidParameterList, EInvalidValue, EInvalidValueType, EListEntryOccupied, EMethod, EMethodPtrInvalid, ENoModifySizeRights, ENoReadRights, ENotAList, ENotAMethod, ENotAProperty, ENoWriteRights, EProperty, EPropertyHandling, EPropertyList, ESizeMismatch, ETranslationTableCorrupted, ETranslationTableNotDefined, EUnsupportedOperation, EUnsupportedParameter, EValidationFailed, EValIDOutOfBounds, EValTooLarge, EValTooSmall, and EWrongParamCount.
|
protected |
Reimplemented in ECantAccessData, ECantAllocateNewList, ECantRegisterComponent, ECantSerializeData, EComponentIDInvalid, EComponentNotFound, EDeviceManager, EImplementationMissing, EIncompatibleComponents, EInputBufferTooSmall, EInvalidFileContent, EInvalidInputParameter, EInvalidListID, EInvalidParameterList, EInvalidValue, EInvalidValueType, EListEntryOccupied, EMethodPtrInvalid, ENoModifySizeRights, ENoReadRights, ENotAList, ENotAMethod, ENotAProperty, ENoWriteRights, EPropertyHandling, ESizeMismatch, ETranslationTableCorrupted, ETranslationTableNotDefined, EUnsupportedOperation, EUnsupportedParameter, EValidationFailed, EValIDOutOfBounds, EValTooLarge, EValTooSmall, and EWrongParamCount.
int getErrorCode | ( | ) |
Returns a unique numerical representation for this error.
String getErrorCodeAsString | ( | ) |
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.TDMR_ERROR.DMR_DRV_ALREADY_IN_USE, which is the error codes corresponding enum name.
|
static |
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.TDMR_ERROR.DMR_DRV_ALREADY_IN_USE, which is the error codes corresponding enum name.
errorCode | [in] The error code to query a string representation for. |
String 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.
String getErrorString | ( | ) |
Returns an error string containing information about the reason for the error.
String getMessage | ( | ) |
|
staticprotected |
|
protected |