replace : iotivity -> iotivity-sec
[platform/upstream/iotivity.git] / resource / include / StringConstants.h
index 4f856c2..3e366a3 100644 (file)
@@ -39,6 +39,7 @@ namespace OC
     namespace InitException
     {
         static const char NO_ERROR[]                   = "No Error";
+        static const char INVALID_HOST[]                = "Invalid Host";
         static const char INVALID_URI[]                = "Invalid URI";
         static const char INVALID_PORT[]               = "Invalid Port";
         static const char INVALID_IP[]                 = "Invalid IP";
@@ -48,6 +49,7 @@ namespace OC
         static const char UNKNOWN_ERROR[]              = "Unknown Error";
 
         static const char STACK_INIT_ERROR[]           = "Error Initializing Stack";
+        static const char STACK_TERMINATE_ERROR[]      = "Error Terminating Stack";
         static const char NOT_CONFIGURED_AS_SERVER[]   =
                           "Cannot static construct a Server when configured as a client";
         static const char INVALID_PARAM[]              = "Invalid Param";
@@ -123,11 +125,22 @@ namespace OC
         static const char PDM_DB_NOT_INITIALIZED[]     = "Provisioning DB is not initialized";
         static const char DUPLICATE_UUID[]             = "Duplicate UUID in DB";
         static const char INCONSISTENT_DB[]            = "Data in provisioning DB is inconsistent";
+        static const char SVR_DB_NOT_EXIST[]           = "SVR DB file is not exist.";
         static const char AUTHENTICATION_FAILURE[]     = "Authentication failure";
         static const char NOT_ALLOWED_OXM[]            = "Not allowed ownership transfer method";
+        static const char USER_DENIED_REQ[]            = "Request denied by User";
+        static const char NOT_ACCEPTABLE[]             = "Request not acceptable";
         static const char PUBLISH_RESOURCE_FAILED[]    = "Publish Resource failure";
         static const char FORBIDDEN_REQ[]              = "Forbidden request";
         static const char INTERNAL_SERVER_ERROR[]      = "Internal server error";
+        static const char NOTIFY_ALL_OBSERVERS_FAILED[]  = "notifyAllObservers failed";
+        static const char NOTIFY_LIST_OBSERVERS_FAILED[] = "notifyListOfObservers failed";
+        static const char METHOD_NOT_ALLOWED[]         = "method not allowed";
+        static const char NOT_IMPLEMENTED[]            = "not implemented";
+        static const char BAD_GATEWAY[]                = "bad gateway";
+        static const char SERVICE_UNAVAILABLE[]        = "service not available";
+        static const char GATEWAY_TIMEOUT[]            = "gateway timeout";
+        static const char PROXY_NOT_SUPPORTED[]        = "proxy not supported";
     }
 
     namespace Error