Impact Acquire SDK Java
ExceptionFactory Class Reference

A factory class to raise Impact Acquire related exceptions. More...

Public Member Functions

synchronized void delete ()
 
 ExceptionFactory ()
 

Static Public Member Functions

static String getLastErrorString ()
 Returns the last error string that did occur inside the framework within the current thread.
 
static void raiseException (String pFunctionName, int lineNumber, int errorCode)
 Raises an exception from an error code, its origin in terms of the function name and the line number the error did occur and an optional component handle.
 
static void raiseException (String pFunctionName, int lineNumber, int errorCode, int objectHandle)
 Raises an exception from an error code, its origin in terms of the function name and the line number the error did occur and an optional component handle.
 
static void raiseException (String pFunctionName, int lineNumber, int errorCode, String msg)
 Raises an exception from an error code, its origin in terms of the function name and the line number the error did occur and an exception string.
 

Protected Member Functions

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

Static Protected Member Functions

static long swigRelease (ExceptionFactory obj)
 

Protected Attributes

transient boolean swigCMemOwn
 

Detailed Description

A factory class to raise Impact Acquire related exceptions.

This class contains a collection of static member functions that are used inside the interface to raise the appropriate exception in case of an error

Constructor & Destructor Documentation

◆ ExceptionFactory() [1/2]

ExceptionFactory ( long cPtr,
boolean cMemoryOwn )
protected

◆ ExceptionFactory() [2/2]

Member Function Documentation

◆ delete()

synchronized void delete ( )

◆ finalize()

void finalize ( )
protected

◆ getLastErrorString()

static String getLastErrorString ( )
static

Returns the last error string that did occur inside the framework within the current thread.

Returns
The last error string that did occur inside the framework within the current thread.

◆ raiseException() [1/3]

static void raiseException ( String pFunctionName,
int lineNumber,
int errorCode )
static

Raises an exception from an error code, its origin in terms of the function name and the line number the error did occur and an optional component handle.

Parameters
pFunctionName[in] The name of the function this exception was raised from.
lineNumber[in] The line number in the source this exception was raised from.
errorCode[in] The error code.

◆ raiseException() [2/3]

static void raiseException ( String pFunctionName,
int lineNumber,
int errorCode,
int objectHandle )
static

Raises an exception from an error code, its origin in terms of the function name and the line number the error did occur and an optional component handle.

Parameters
pFunctionName[in] The name of the function this exception was raised from.
lineNumber[in] The line number in the source this exception was raised from.
errorCode[in] The error code.
objectHandle[in] A handle to an object.

◆ raiseException() [3/3]

static void raiseException ( String pFunctionName,
int lineNumber,
int errorCode,
String msg )
static

Raises an exception from an error code, its origin in terms of the function name and the line number the error did occur and an exception string.

Parameters
pFunctionName[in] The name of the function this exception was raised from.
lineNumber[in] The line number in the source this exception was raised from.
errorCode[in] The error code.
msg[in] The actual exception text.

◆ swigRelease()

static long swigRelease ( ExceptionFactory obj)
staticprotected

Member Data Documentation

◆ swigCMemOwn

transient boolean swigCMemOwn
protected