2 * Copyright (c) 2011 Samsung Electronics Co., Ltd All Rights Reserved
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
17 * @file job_exception_error.h
18 * @author Soyoung Kim (sy037.kim@samsung.com)
20 * @brief This file contains declarations of wrt api
24 * @defgroup wrt_engine_group WebRunTime engine Library
25 * @ingroup internet_FW
26 * Functions to APIs to access wrt-engine
29 #ifndef JOB_EXCEPTION_ERROR_H
30 #define JOB_EXCEPTION_ERROR_H
36 namespace Exceptions {
39 Success = 0, ///< Success
42 ErrorPackageNotFound, ///<
43 ErrorPackageInvalid, ///< invalid widget package
44 ErrorPackageLowerVersion, ///< given version is lower
45 ErrorPackageExecutableNotFound,
47 ErrorManifestNotFound = 11, ///<
48 ErrorManifestInvalid, ///<
49 ErrorConfigNotFound, ///< couldn't find config.xml
50 ErrorConfigInvalid, ///< invalid config.xml
52 ErrorSignatureNotFound = 21, ///< signature file not exist.
53 ErrorSignatureInvalid, ///< invalid signature file
54 ErrorSignatureVerificationFailed, ///< failure in verificate
56 ErrorRootCertificateNotFound = 31, ///< couldn't find root
57 ErrorCertificationInvaid, ///< invalid certification
58 ErrorCertificateChainVerificationFailed, ///< failure in verificate
59 ErrorCertificateExpired, ///< expire cerification.
61 ErrorInvalidPrivilege = 41, ///< invalid privilege.
62 ErrorPrivilegeLevelViolation,
64 ErrorInstallPrivilegeUsingLegacyFailed = 43,
65 ErrorInstallPrivilegeUnknownFailed = 44,
66 ErrorInstallPrivilegeUnauthorizedFailed = 45,
68 ErrorMenuIconNotFound = 51, ///<
70 ErrorFatalError = 61, ///< failure in db operation
71 ErrorOutOfStorage, ///< failure in shortage of memory
72 ErrorOutOfMemory, ///< failure in shortage of RAM
75 /* wrt-installer error */
76 /* 121-140 : reserved for Web installer */
77 ErrorPackageAlreadyInstalled = 121, ///< package already in target.
78 ErrorAceCheckFailed, ///< failure in ace check.
79 ErrorManifestCreateFailed, ///< failure in creating manifest
80 ErrorEncryptionFailed, ///< failure in encryption resource
81 ErrorInstallOspServcie, ///< Failure in installing osp service
82 ErrorPluginInstallationFailed, ///< failure in plugin installation
83 ErrorWidgetUninstallationFailed, ///< failure in uninstallation
84 ErrorNotSupportRDSUpdate, ///< failure in rds update
86 ErrorUnknown = 140, ///< do not use this error code.
91 #endif /* JOB_EXCEPTION_ERROR_H */