Company X Accessories C1030-5510 Manual De Usuario
Methods/Functions
GetLastErrorCode
API
Code
C++
unsigned int ceException::GetErrorCode()
C
unsigned int GetLastErrorCode()
.NET
uint ceException.GetLastErrorCode()
Returns an error code which is intended to group the error into different kinds. It can be
one of the following constants:
one of the following constants:
Error code
Kind of error
ceE_TIMEOUT
Errors with any kind of timeout.
ceE_IO_ERROR
IO errors of any kind, file, hardware, etc.
ceE_UNEXP_HW_BEH Unexpected behavior of underlying hardware (no response, wrong data).
ceE_PARAM
ceE_PARAM
Errors related to wrong call parameters (NULL pointers, …).
ceE_RESOURCE
Resource problem, wrong file format, missing dependency.
ceE_API
Undefined behavior of underlying API.
ceE_ORDER
Wrong order calling a group of code (i.e. deinit()→init()).
ceE_PROCESSING
Occurred during internal processing of anything.
ceE_INCOMPATIBLE
Not supported by this device.
ceE_OUTOFMEMORY Failure allocating enough memory.
GetLastErrorText
API
Code
C++
const char *ceException::GetLastErrorText()
C
const char *GetLastErrorText()
.NET
string ceException.GetLastErrorText()
Returns a text which describes the error readable by the user. Most of the errors contain
problems meant for the developer using the UDK and are rarely usable by end users. In
most cases unexpected behavior of the underlying operation system or in data transfer is
reported. (All texts are in english.)
problems meant for the developer using the UDK and are rarely usable by end users. In
most cases unexpected behavior of the underlying operation system or in data transfer is
reported. (All texts are in english.)
USBS6 / C1030-5510
User Doc V0.3
-39-
preliminary