Header Header

gxException Class Reference

List of all members.


Detailed Description

Class for the error handling.

If an exception occurred, this gxError class will be thrown. It doesn't store the error string or error code. All the errors are thread-local in the GX system. The system preserves the error while new ones doesn't arrives.

Public Member Functions

int GetErrorCode (void)
 Getting the error code.
int GetError (int *code, wchar_t *string, int maxlen)
 Getting the error code and string in unicode format.
int GetError (int *code, char *string, int maxlen)
 Getting the error code and string in ASCII format.
gxOutStr GetErrorString (void)
 Getting the error string in unicode format.
gxOutAStr GetErrorStringA (void)
 Getting the error string in ASCII format.


Member Function Documentation

int GetErrorCode ( void   )  [inline]

Getting the error code.

Returns:
The error code.

References gx_geterrorcode().

int GetError ( int *  code,
wchar_t *  string,
int  maxlen 
) [inline]

Getting the error code and string in unicode format.

Parameters:
code Pointer where the function writes the error code.
string Pointer to a memory area in which the function writes the string.
maxlen Length of the memory area in characters.
Returns:
The error code (Yes, it is the code not status).

References gx_geterror().

int GetError ( int *  code,
char *  string,
int  maxlen 
) [inline]

Getting the error code and string in ASCII format.

Parameters:
code Pointer where the function writes the error code.
string Pointer to a memory area in which the function writes the string.
maxlen Length of the memory area in characters.
Returns:
The error code (Yes, it is the code not status).

References gx_geterrora().

gxOutStr GetErrorString ( void   )  [inline]

Getting the error string in unicode format.

Returns:
The error string.

References gx_geterror().

gxOutAStr GetErrorStringA ( void   )  [inline]

Getting the error string in ASCII format.

Returns:
The error string.

References gx_geterrora().


Generated  for GX
(c) ARH Inc.