|
|
@@ -21,31 +21,34 @@ enum ErrorCodeEnum
|
|
|
Error_TargetBeing=0x200,
|
|
|
Error_NoTarget, //request target is not exist
|
|
|
Error_NoDefine, //The class or object no define
|
|
|
- Error_NotImpl, //the method has not implement yet
|
|
|
- Error_NotExist, //not exist
|
|
|
+ Error_NotImpl, //the method has not implement yet
|
|
|
+ Error_NotExist, //not exist
|
|
|
Error_Duplication, //Duplicate action or object
|
|
|
- Error_Unregisted, //exist but the object has not registered
|
|
|
+ Error_Unregisted, //exist but the object has not registered
|
|
|
Error_AlreadyExist, //already exist
|
|
|
Error_MethodNotFound, //method does not exist
|
|
|
- Error_Redirect, // redirect indication
|
|
|
- Error_BridgeNotBind, // bridge bind indication
|
|
|
- Error_BridgeNotOK, // try bridge fail
|
|
|
+ Error_Redirect, // redirect indication
|
|
|
+ Error_BridgeNotBind, // bridge bind indication
|
|
|
+ Error_BridgeNotOK, // try bridge fail
|
|
|
+ Error_NotSupport, // don't support the request
|
|
|
|
|
|
//Entity state's category
|
|
|
Error_InvalidState=0x300, //state is not valid for current call
|
|
|
- Error_NotInit, //The target is not be initial
|
|
|
- Error_Paused, //the access object is in Pause state
|
|
|
- Error_Stoped, //the access object is in Stop state
|
|
|
- Error_Losted, //the access object is in Lost state
|
|
|
- Error_Closed, //opposite side in close state
|
|
|
+ Error_NotInit, //The target is not be initial
|
|
|
+ Error_Paused, //the access object is in Pause state
|
|
|
+ Error_Stoped, //the access object is in Stop state
|
|
|
+ Error_Losted, //the access object is in Lost state
|
|
|
+ Error_Closed, //opposite side in close state
|
|
|
+ Error_Accept, //test mode: pass the test
|
|
|
+ Error_Failed, //test mode: fail to pass the test.
|
|
|
|
|
|
//Framework Task control's category
|
|
|
Error_TaskControl=0x400,
|
|
|
Error_Pending, //The request in not finish
|
|
|
Error_Cancel, //The process is be cancel by framework
|
|
|
- Error_Break, //The task has interrupt
|
|
|
- Error_NotMeetCondition, //not meat run condition,run cancel
|
|
|
- Error_NoPrivilege, //no privilege
|
|
|
+ Error_Break, //The task has interrupt
|
|
|
+ Error_NotMeetCondition, //not meat run condition,run cancel
|
|
|
+ Error_NoPrivilege, //no privilege
|
|
|
Error_MethodSignatureFailed,//method signature failed
|
|
|
|
|
|
//opposite side action's category
|
|
|
@@ -57,10 +60,10 @@ enum ErrorCodeEnum
|
|
|
|
|
|
//process fail's category
|
|
|
Error_Process=0x600,
|
|
|
- Error_NetBroken, //the network is broken
|
|
|
+ Error_NetBroken, //the network is broken
|
|
|
Error_UpdateFailed, //system update failed
|
|
|
Error_RegistryFailed, //registry operation failed
|
|
|
- Error_IO, //IO error(file reading/writing)
|
|
|
+ Error_IO, //IO error(file reading/writing)
|
|
|
Error_Readonly, //The object can't be edit
|
|
|
|
|
|
Error_TimeOut=0x700,
|
|
|
@@ -70,31 +73,22 @@ enum ErrorCodeEnum
|
|
|
Error_ReplyTimeOut, //The system max answer time
|
|
|
|
|
|
Error_Hardware=0x800,
|
|
|
- Error_DevLoadFileFailed, //load dll or config file failed
|
|
|
+ Error_DevLoadFileFailed, //load dll or config file failed
|
|
|
Error_DevNotAvailable, //device not connected
|
|
|
Error_DevAlreadyConnected, //device already connected
|
|
|
- Error_DevConnFailed, //connect to device failed
|
|
|
+ Error_DevConnFailed, //connect to device failed
|
|
|
Error_DevCommFailed, //Communication failed between HOST and Device
|
|
|
- Error_DevMedia, //Media error(Data lack,unrecognized and so on)
|
|
|
- Error_EnvCamera, //EnvCamera error
|
|
|
- Error_OptCamera, //OptCamera error(Data lack,unrecognized and so on)
|
|
|
- Error_AllCamera, //AllCamera error(Data lack,unrecognized and so on)
|
|
|
- //Error_Audio,
|
|
|
+ Error_DevMedia, //Media error(Data lack,unrecognized and so on)
|
|
|
+ Error_EnvCamera, //EnvCamera error
|
|
|
+ Error_OptCamera, //OptCamera error(Data lack,unrecognized and so on)
|
|
|
+ Error_AllCamera, //AllCamera error(Data lack,unrecognized and so on)
|
|
|
Error_AudioIN,
|
|
|
Error_AudioOut,
|
|
|
|
|
|
Error_Debug=0xf00,
|
|
|
Error_Assert,
|
|
|
Error_Trace,
|
|
|
- Error_Bug, //bug detected
|
|
|
-
|
|
|
- /*
|
|
|
- // device error code x define at range 0x00010000 <= x <= 0x0001ffff
|
|
|
- //
|
|
|
- Error_Device_Begin = 0x00010000,
|
|
|
- //...... device error codes goes here
|
|
|
- Error_Device_End = 0x0001ffff,
|
|
|
- */
|
|
|
+ Error_Bug, //bug detected
|
|
|
|
|
|
Error_Unrecover=0x70000000,
|
|
|
Error_Resource, //The system resource ec:memory/handle/space,do not retry,should restart system
|