Delete unused error 18/219218/3
authormk5004.lee <mk5004.lee@samsung.com>
Tue, 3 Dec 2019 10:25:46 +0000 (19:25 +0900)
committerMyungKi Lee <mk5004.lee@samsung.com>
Tue, 11 Feb 2020 07:26:04 +0000 (07:26 +0000)
-  ERROR_INVALID_OPERATION
   ERROR_MAX_EXCEEDED

Change-Id: I27e943797f853bd3cdbc6a4cafea5c0ad2a6389c
Signed-off-by: mk5004.lee <mk5004.lee@samsung.com>
notification-ex/common.h
notification-ex/exception.h

index fea66fd..fd45e75 100644 (file)
@@ -29,13 +29,11 @@ enum NotificationError {
   ERROR_OUT_OF_MEMORY = TIZEN_ERROR_OUT_OF_MEMORY, /**< Out of memory */
   ERROR_IO_ERROR = TIZEN_ERROR_IO_ERROR, /**< I/O error */
   ERROR_PERMISSION_DENIED = TIZEN_ERROR_PERMISSION_DENIED, /**< Permission denied */
-  ERROR_INVALID_OPERATION = TIZEN_ERROR_INVALID_OPERATION, /**< Function not implemented (@b Since: @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif) */
   ERROR_FROM_DB = TIZEN_ERROR_NOTIFICATION | 0x01, /**< Error from DB query */
   ERROR_ALREADY_EXIST_ID = TIZEN_ERROR_NOTIFICATION | 0x02, /**< Already exist private ID */
   ERROR_FROM_DBUS = TIZEN_ERROR_NOTIFICATION | 0x03, /**< Error from DBus */
   ERROR_NOT_EXIST_ID = TIZEN_ERROR_NOTIFICATION | 0x04, /**< Not exist private ID */
   ERROR_SERVICE_NOT_READY = TIZEN_ERROR_NOTIFICATION | 0x05, /**< No response from notification service */
-  ERROR_MAX_EXCEEDED = TIZEN_ERROR_NOTIFICATION | 0x06, /**< Max notification count exceeded (@b Since: 3.0) */
 };
 
 }  // namespace notification
index 0f8b7f2..aca1041 100644 (file)
@@ -64,8 +64,6 @@ class Exception : public std::exception {
       return ": IO_ERROR";
     case ERROR_PERMISSION_DENIED:
       return ": PERMISSION_DENIED";
-    case ERROR_INVALID_OPERATION:
-      return ": INVALID_OPERATION";
     case ERROR_FROM_DB:
       return ": ERROR_FROM_DB";
     case ERROR_ALREADY_EXIST_ID:
@@ -76,8 +74,6 @@ class Exception : public std::exception {
       return ": NOT_EXIST_ID";
     case ERROR_SERVICE_NOT_READY:
       return ": SERVICE_NOT_READY";
-    case ERROR_MAX_EXCEEDED:
-      return ": MAX_EXCEEDED";
     default:
       return "";
     }