Add to retry to read DUID.
[platform/framework/native/appfw.git] / inc / FBaseErrors.h
index 762cb8f..1381e77 100644 (file)
@@ -1,5 +1,4 @@
 //
-// Open Service Platform
 // Copyright (c) 2012 Samsung Electronics Co., Ltd.
 //
 // Licensed under the Apache License, Version 2.0 (the License);
@@ -26,7 +25,6 @@
 
 #include <FBaseErrorDefine.h>
 
-
 //----------------------------------------------------------------------------A
 /** (specialized) Thrown when network address is changed externally. */
 #define E_ADDRESS_CHANGED               (ERR_SRC_FRAMEWORK + SET_E_CAUSE(1100))
@@ -55,7 +53,6 @@
 /** Thrown when a required account does not exist. */
 #define E_ACCOUNT_NOT_FOUND             (ERR_SRC_FRAMEWORK + SET_E_CAUSE(1108))
 
-
 //----------------------------------------------------------------------------B
 
 //----------------------------------------------------------------------------C
 /** Thrown when the data is not enough to generate the processing result. */
 #define E_DATA_NOT_ENOUGH               (ERR_SRC_FRAMEWORK + SET_E_CAUSE(1411))
 
-/** Thrown when the diplay right is violated */
+/** Thrown when the display right is violated. */
 #define E_DISPLAY_RIGHT_VIOLATED               (ERR_SRC_FRAMEWORK + SET_E_CAUSE(1412))
 
 //----------------------------------------------------------------------------E
  * during an input operation. */
 #define E_END_OF_FILE                   (ERR_SRC_FRAMEWORK + SET_E_CAUSE(1503))
 
-
 //----------------------------------------------------------------------------F
-// Thrown when the requested operation fails by undefined reason.
-//#define E_FAILURE                                            (ERR_SRC_FRAMEWORK + SET_E_CAUSE(1600))
 
 /** (specialized) Thrown when application tries to call with a number which is
  * not allowed in FDN mode, while the FDN mode is enabled. */
  *  fails. */
 #define E_FILE_NOT_FOUND                (ERR_SRC_FRAMEWORK + SET_E_CAUSE(1602))
 
-
 //----------------------------------------------------------------------------G
 /** Thrown when a required group does not exist. */
 #define E_GROUP_NOT_FOUND               (ERR_SRC_FRAMEWORK + SET_E_CAUSE(1700))
 
-
 //----------------------------------------------------------------------------H
 /** Thrown the destination host is not found. */
 #define E_HOST_NOT_FOUND                (ERR_SRC_FRAMEWORK + SET_E_CAUSE(1800))
 /** Thrown the Http transaction is canceled by user. */
 #define E_HTTP_USER                     (ERR_SRC_FRAMEWORK + SET_E_CAUSE(1802))
 
-
 //----------------------------------------------------------------------------I
 /** Thrown when the user does not have proper permissions. */
 #define E_ILLEGAL_ACCESS                (ERR_SRC_FRAMEWORK + SET_E_CAUSE(1900))
 /** Thrown when the specified password has invalid format. */
 #define E_INVALID_PASSWORD              (ERR_SRC_FRAMEWORK + SET_E_CAUSE(1933))
 
-
 //----------------------------------------------------------------------------J
 
 //----------------------------------------------------------------------------K
 /** Thrown when a specified member already exists. */
 #define E_MEMBER_ALREADY_EXIST          (ERR_SRC_FRAMEWORK + SET_E_CAUSE(2304))
 
-
 //----------------------------------------------------------------------------N
 /** General network exception. */
 #define E_NETWORK_FAILED                (ERR_SRC_FRAMEWORK + SET_E_CAUSE(2400))
 /** Thrown when OpenGL operation failed. */
 #define E_OPENGL_ERROR                  (ERR_SRC_FRAMEWORK + SET_E_CAUSE(2509))
 
+/** Thrown when the application does not register the log scope or
+ *     registered log scope is not matched with query condition (log type or log provider) specified in Query() API. */
+#define E_OBJ_NOT_REGISTERED           (ERR_SRC_FRAMEWORK + SET_E_CAUSE(2510))
 
 //----------------------------------------------------------------------------P
 /** (specialized) Thrown when the requested Bluetooth pairing fails. */
 /** Thrown when the right to get served has expired. */
 #define E_RIGHT_EXPIRED                 (ERR_SRC_FRAMEWORK + SET_E_CAUSE(2805))
 
-/** Thrown when there is no right. */ 
+/** Thrown when there is no right. */
 #define E_RIGHT_NO_LICENSE             (ERR_SRC_FRAMEWORK + SET_E_CAUSE(2806))
 
 /** Thrown when the right is for future use. */
 /** Thrown when a service is deactivated. */
 #define E_SERVICE_DEACTIVATED           (ERR_SRC_FRAMEWORK + SET_E_CAUSE(2915))
 
-
 //----------------------------------------------------------------------------T
 /** (specialized) Thrown then the specified table does not exist. */
 #define E_TABLE_NOT_FOUND               (ERR_SRC_FRAMEWORK + SET_E_CAUSE(3000))
 /** Thrown when the specified type does not match. */
 #define E_TYPE_MISMATCH                 (ERR_SRC_FRAMEWORK + SET_E_CAUSE(3002))
 
-
 //----------------------------------------------------------------------------U
 /** Thrown when the operation causes an underflow. */
 #define E_UNDERFLOW                     (ERR_SRC_FRAMEWORK + SET_E_CAUSE(3100))
 /** Thrown when the specified object would cause a deadlock. */
 #define E_WOULD_DEADLOCK                (ERR_SRC_FRAMEWORK + SET_E_CAUSE(3301))
 
-
 //----------------------------------------------------------------------------X
 
 //----------------------------------------------------------------------------Y
 
 //----------------------------------------------------------------------------Z
 
-
 //-----------------------------------------------------------------------------
 
-#endif // _FBASE_ERRORS_H_
+#endif // _FBASE_ERRORS_H_
\ No newline at end of file