Impact Acquire SDK Java
EMethod Class Reference

A base class for mvIMPACT.acquire.Method object related exceptions from the property module. More...

Inheritance diagram for EMethod:
[legend]

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 ()
 

Static Public Member Functions

static String getErrorCodeAsString (int errorCode)
 Returns a string representation of a error.
 

Protected Member Functions

 EMethod (long cPtr, boolean cMemoryOwn)
 
void finalize ()
 

Static Protected Member Functions

static long swigRelease (EComponent obj)
 
static long swigRelease (EMethod obj)
 
static long swigRelease (EPropertyHandling obj)
 
static long swigRelease (ImpactAcquireException obj)
 

Protected Attributes

transient boolean swigCMemOwn
 

Detailed Description

A base class for mvIMPACT.acquire.Method object related exceptions from the property module.

This exception object will never be raised in the code. It can't be constructed directly but to check for mvIMPACT.acquire.Method object related errors a catch block for mvIMPACT.acquire.EMethod objects can be written to catch only Method related exceptions.

Constructor & Destructor Documentation

◆ EMethod()

EMethod ( long cPtr,
boolean cMemoryOwn )
protected

Member Function Documentation

◆ delete()

synchronized void delete ( )

Reimplemented from EComponent.

Reimplemented in EInvalidParameterList, and EMethodPtrInvalid.

◆ finalize()

◆ getErrorCode()

int getErrorCode ( )
inherited

Returns a unique numerical representation for this error.

◆ getErrorCodeAsString() [1/2]

String getErrorCodeAsString ( )
inherited

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.

◆ getErrorCodeAsString() [2/2]

static String getErrorCodeAsString ( int errorCode)
staticinherited

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.

Parameters
errorCode[in] The error code to query a string representation for.

◆ getErrorOrigin()

String getErrorOrigin ( )
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.

◆ getErrorString()

String getErrorString ( )
inherited

Returns an error string containing information about the reason for the error.

◆ getMessage()

String getMessage ( )
inherited

◆ swigRelease() [1/4]

static long swigRelease ( EComponent obj)
staticprotectedinherited

◆ swigRelease() [2/4]

static long swigRelease ( EMethod obj)
staticprotected

◆ swigRelease() [3/4]

static long swigRelease ( EPropertyHandling obj)
staticprotectedinherited

◆ swigRelease() [4/4]

static long swigRelease ( ImpactAcquireException obj)
staticprotectedinherited

Member Data Documentation

◆ swigCMemOwn

transient boolean swigCMemOwn
protectedinherited