Remove useless battery-monitor error values 07/213307/1
authorKichan Kwon <k_c.kwon@samsung.com>
Wed, 4 Sep 2019 06:16:43 +0000 (15:16 +0900)
committerKichan Kwon <k_c.kwon@samsung.com>
Wed, 4 Sep 2019 06:16:43 +0000 (15:16 +0900)
Change-Id: Ibb979457ef9317b4fe5d7972ba36165a125cc478
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
error_messages/capi-battery-monitor.xml [deleted file]
error_messages/capi-system-battery-monitor.xml [new file with mode: 0644]

diff --git a/error_messages/capi-battery-monitor.xml b/error_messages/capi-battery-monitor.xml
deleted file mode 100644 (file)
index 34c539b..0000000
+++ /dev/null
@@ -1,56 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<package uri="platform/core/api/batterymonitor">
-       <error name="BATTERY_MONITOR_ERROR_DUPLICATED">
-               <value>TIZEN_ERROR_BATTERY_MONITOR | 0x01</value>
-               <msg>Same user name exists in your application</msg>
-       </error>
-       <error name="BATTERY_MONITOR_ERROR_NOT_INITIALIZED">
-               <value>TIZEN_ERROR_BATTERY_MONITOR | 0x02</value>
-               <msg>Not initialized</msg>
-       </error>
-       <error name="BATTERY_MONITOR_ERROR_RECORD_NOT_FOUND">
-               <value>TIZEN_ERROR_BATTERY_MONITOR | 0x03</value>
-               <msg>Related record does not exist</msg>
-       </error>
-       <error name="BATTERY_MONITOR_ERROR_DB_FAILED">
-               <value>TIZEN_ERROR_BATTERY_MONITOR | 0x04</value>
-               <msg>DB operation failed</msg>
-       </error>
-       <error name="BATTERY_MONITOR_ERROR_DB_NOT_OPENED">
-               <value>TIZEN_ERROR_BATTERY_MONITOR | 0x05</value>
-               <msg>DB is not connected</msg>
-       </error>
-       <error name="BATTERY_MONITOR_ERROR_QUERY_SYNTAX_ERROR">
-               <value>TIZEN_ERROR_BATTERY_MONITOR | 0x06</value>
-               <msg>DB query syntax error</msg>
-       </error>
-       <error name="BATTERY_MONITOR_ERROR_ITERATOR_END">
-               <value>TIZEN_ERROR_BATTERY_MONITOR | 0x07</value>
-               <msg>Iterator has reached the end</msg>
-       </error>
-       <error name="BATTERY_MONITOR_ERROR_NOTI_FAILED">
-               <value>TIZEN_ERROR_BATTERY_MONITOR | 0x08</value>
-               <msg>Notification failed</msg>
-       </error>
-       <error name="BATTERY_MONITOR_ERROR_NULL_POINTER">
-               <value>TIZEN_ERROR_BATTERY_MONITOR | 0x09</value>
-               <msg>NULL Pointer Value</msg>
-       </error>
-       <error name="BATTERY_MONITOR_ERROR_INTERNAL">
-               <value>TIZEN_ERROR_BATTERY_MONITOR | 0x0a</value>
-               <msg>Internal error for generic use</msg>
-       </error>
-       <error name="BATTERY_MONITOR_ERROR_PLUGIN_ADD">
-               <value>TIZEN_ERROR_BATTERY_MONITOR | 0x0b</value>
-               <msg>Plugin add error</msg>
-       </error>
-       <error name="BATTERY_MONITOR_ERROR_PLUGIN_AVAILABLE">
-               <value>TIZEN_ERROR_BATTERY_MONITOR | 0x0c</value>
-               <msg>Plugin already added</msg>
-       </error>
-       <error name="BATTERY_MONITOR_ERROR_DATABASE_BUSY">
-               <value>TIZEN_ERROR_BATTERY_MONITOR | 0x0d</value>
-               <msg>SQLite busy handler expired</msg>
-       </error>
-</package>
-
diff --git a/error_messages/capi-system-battery-monitor.xml b/error_messages/capi-system-battery-monitor.xml
new file mode 100644 (file)
index 0000000..fd9dc3c
--- /dev/null
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<package uri="platform/core/api/batterymonitor">
+       <error name="BATTERY_MONITOR_ERROR_RECORD_NOT_FOUND">
+               <value>TIZEN_ERROR_BATTERY_MONITOR | 0x01</value>
+               <msg>Related record does not exist</msg>
+       </error>
+       <error name="BATTERY_MONITOR_ERROR_DB_FAILED">
+               <value>TIZEN_ERROR_BATTERY_MONITOR | 0x02</value>
+               <msg>DB operation failed</msg>
+       </error>
+       <error name="BATTERY_MONITOR_ERROR_DB_NOT_OPENED">
+               <value>TIZEN_ERROR_BATTERY_MONITOR | 0x03</value>
+               <msg>DB is not connected</msg>
+       </error>
+       <error name="BATTERY_MONITOR_ERROR_INTERNAL">
+               <value>TIZEN_ERROR_BATTERY_MONITOR | 0x04</value>
+               <msg>Internal error for generic use</msg>
+       </error>
+</package>
+