nn::nex::ErrorCodeConverter::ConvertToNetworkErrorCode Member Function

Syntax

static qUnsignedInt32 ConvertToNetworkErrorCode(
     const qResult & qresult
);

static qUnsignedInt32 ConvertToNetworkErrorCode(
     qUnsignedInt32 last
);

List of Overloaded Member Functions

ConvertToNetworkErrorCode ( const qResult & ) Converts a qResult-type value into a network error code.
ConvertToNetworkErrorCode ( qUnsignedInt32 ) Converts the value obtained by SystemError::GetLast function into a network error code.

Description of ConvertToNetworkErrorCode ( const qResult & )

Converts the qResult-type value returned by the NEX library into a network error code. The converted values can be passed to the Error/EULA applet.

Returns 0 for SUCCESS. Returns 60000 when a result not defined with the NEX library is passed. (It stops with an assert in the debug build.) This function converts Result values as defined by the NEX library into unique identifying codes, but not all codes need to be shown to the user as errors. See the reference manual and the programming manual to learn what error codes should be displayed.

Description of ConvertToNetworkErrorCode ( qUnsignedInt32 )

Converts the error value obtained by SystemError::GetLast function into a network error code. The converted values can be passed to the Error/EULA applet.

60000 is returned if an error value not defined by the NEX library is passed. This function converts SYSTEMERROR_XXX_XXXX constants as defined by the NEX library into unique identifying codes, but not all codes need to be shown to the user as errors. See the reference manual and the programming manual to learn what error codes should be displayed.


CONFIDENTIAL