From 96622b5441ca49c9b71ae6acf0cb0e93b3aa771f Mon Sep 17 00:00:00 2001 From: Sunggyu Choi Date: Mon, 18 Sep 2017 17:25:56 +0900 Subject: [PATCH] Add custom errors of job scheduler Change-Id: I5da17eb86154a81db85240b3b1c934d908f70184 Signed-off-by: Sunggyu Choi --- include/private/tizen_error_private.h | 3 +++ packaging/capi-base-common.spec | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/include/private/tizen_error_private.h b/include/private/tizen_error_private.h index 17d484e..9dde376 100644 --- a/include/private/tizen_error_private.h +++ b/include/private/tizen_error_private.h @@ -46,6 +46,9 @@ static err_info err_list[] = { ERR_ENTRY("RADIO_ERROR_SOUND_POLICY", TIZEN_ERROR_RADIO | 0x02, "Sound policy error"), ERR_ENTRY("RADIO_ERROR_NO_ANTENNA", TIZEN_ERROR_RADIO | 0x03, "No Antenna error"), ERR_ENTRY("VIDEO_UTIL_ERROR_NOT_SUPPORTED_FORMAT", TIZEN_ERROR_VIDEO_UTIL | 0x01, "Not supported format"), + ERR_ENTRY("JOB_ERROR_NOT_INITIALIZED", TIZEN_ERROR_JOB_SCHEDULER | 0x21, "Not initialized"), + ERR_ENTRY("JOB_ERROR_NO_SUCH_JOB", TIZEN_ERROR_JOB_SCHEDULER | 0x22, "No such job"), + ERR_ENTRY("JOB_ERROR_ALREADY_EXIST", TIZEN_ERROR_JOB_SCHEDULER | 0x23, "Already exist"), ERR_ENTRY("MESSAGE_PORT_ERROR_PORT_NOT_FOUND", TIZEN_ERROR_MESSAGE_PORT | 0x01, "The message port of the remote application is not found"), ERR_ENTRY("MESSAGE_PORT_ERROR_CERTIFICATE_NOT_MATCH", TIZEN_ERROR_MESSAGE_PORT | 0x02, "The remote application is not signed with the same certificate"), ERR_ENTRY("MESSAGE_PORT_ERROR_MAX_EXCEEDED", TIZEN_ERROR_MESSAGE_PORT | 0x03, "The size of the message has exceeded the maximum limit"), diff --git a/packaging/capi-base-common.spec b/packaging/capi-base-common.spec index 8a68937..3b51904 100644 --- a/packaging/capi-base-common.spec +++ b/packaging/capi-base-common.spec @@ -1,6 +1,6 @@ Name: capi-base-common Summary: Common header files of Tizen Native API -Version: 0.4.15 +Version: 0.4.16 Release: 1 Group: Base License: Apache-2.0 -- 2.7.4