UDT Reference: CUDTException Methods

getErrorNo

The getErrorNo method returns the system errno.

int getErrorMsg(
);

Parameters

NONE.

Return Values

The system errno of the error that causes the exception. If there is no exception, 0 will be returned.

Exceptions

No exception will be caused.

Description

UDT records the error information in the CUDTException entity, which is threw out to the application. The system errno is the integer code for the error which can be used for exception handling.

See Also

getErrorMessage