2 // Copyright (c) 2012 Samsung Electronics Co., Ltd.
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.
19 * @brief This header file defines error codes.
21 * This header file contains the definitions of error codes.
23 #ifndef _FBASE_ERRORS_H_
24 #define _FBASE_ERRORS_H_
26 #include <FBaseErrorDefine.h>
29 //----------------------------------------------------------------------------A
30 /** (specialized) Thrown when network address is changed externally. */
31 #define E_ADDRESS_CHANGED (ERR_SRC_FRAMEWORK + SET_E_CAUSE(1100))
33 /** Thrown when the target is bounded to another source. */
34 #define E_ALREADY_BOUND (ERR_SRC_FRAMEWORK + SET_E_CAUSE(1101))
36 /** Thrown when the target is connected to another source. */
37 #define E_ALREADY_CONNECTED (ERR_SRC_FRAMEWORK + SET_E_CAUSE(1102))
39 /** Thrown when the target is already opened. */
40 #define E_ALREADY_OPENED (ERR_SRC_FRAMEWORK + SET_E_CAUSE(1103))
42 /** Thrown when the authentication request fails. */
43 #define E_AUTHENTICATION (ERR_SRC_FRAMEWORK + SET_E_CAUSE(1104))
45 /** Thrown when the required application is not installed. */
46 #define E_APP_NOT_INSTALLED (ERR_SRC_FRAMEWORK + SET_E_CAUSE(1105))
48 /** Thrown when the specified instance is already set to other values, instances or resources. */
49 #define E_ALREADY_SET (ERR_SRC_FRAMEWORK + SET_E_CAUSE(1106))
51 /** Thrown when a specified account already exists. */
52 #define E_ACCOUNT_ALREADY_EXIST (ERR_SRC_FRAMEWORK + SET_E_CAUSE(1107))
54 /** Thrown when a required account does not exist. */
55 #define E_ACCOUNT_NOT_FOUND (ERR_SRC_FRAMEWORK + SET_E_CAUSE(1108))
58 //----------------------------------------------------------------------------B
60 //----------------------------------------------------------------------------C
61 /** (specialized) ... */
62 #define E_CHUNKED_TRANSACTION (ERR_SRC_FRAMEWORK + SET_E_CAUSE(1300))
64 /** Thrown when the connection is busy, so cannot process the new request. */
65 #define E_CONNECTION_BUSY (ERR_SRC_FRAMEWORK + SET_E_CAUSE(1301))
67 /** Thrown when the connection to the specific destination fails. */
68 #define E_CONNECTION_FAILED (ERR_SRC_FRAMEWORK + SET_E_CAUSE(1302))
70 /** Thrown when the connection is reset while the other thread is still
72 #define E_CONNECTION_RESET (ERR_SRC_FRAMEWORK + SET_E_CAUSE(1303))
74 /** Thrown when the token is expired. */
75 #define E_CREDENTIAL_EXPIRED (ERR_SRC_FRAMEWORK + SET_E_CAUSE(1304))
77 /** The server certificate verification has failed. */
78 #define E_CERTIFICATE_VERIFICATION_FAILED (ERR_SRC_FRAMEWORK + SET_E_CAUSE(1305))
80 /** Thrown when the context data is not available. */
81 #define E_CONTEXT_UNAVAILABLE (ERR_SRC_FRAMEWORK + SET_E_CAUSE(1306))
83 //----------------------------------------------------------------------------D
84 /** Thrown when the requested data does not exist. */
85 #define E_DATA_NOT_FOUND (ERR_SRC_FRAMEWORK + SET_E_CAUSE(1400))
87 /** Thrown when underlying database system raises exception. */
88 #define E_DATABASE (ERR_SRC_FRAMEWORK + SET_E_CAUSE(1401))
90 /** Thrown when decoding operation fails. */
91 #define E_DECODING_FAILED (ERR_SRC_FRAMEWORK + SET_E_CAUSE(1402))
93 /** Thrown when the device is processing the previous task, so cannot process
95 #define E_DEVICE_BUSY (ERR_SRC_FRAMEWORK + SET_E_CAUSE(1403))
97 /** Thrown when the device fails with unknown reason. */
98 #define E_DEVICE_FAILED (ERR_SRC_FRAMEWORK + SET_E_CAUSE(1404))
100 /** Thrown when the device does not support the specific request. */
101 #define E_DEVICE_INCOMPATIBLE (ERR_SRC_FRAMEWORK + SET_E_CAUSE(1405))
103 /** Thrown when the device is not installed, or not answering at all. */
104 #define E_DEVICE_UNAVAILABLE (ERR_SRC_FRAMEWORK + SET_E_CAUSE(1406))
106 /** General DHCP exception. */
107 #define E_DHCP (ERR_SRC_FRAMEWORK + SET_E_CAUSE(1407))
109 /** Thrown when the dimension has changed. */
110 #define E_DIMENSION_CHANGED (ERR_SRC_FRAMEWORK + SET_E_CAUSE(1408))
112 /** General DNS exception. */
113 #define E_DNS (ERR_SRC_FRAMEWORK + SET_E_CAUSE(1409))
115 /** Thrown when DNS cannot resolve the requested address. */
116 #define E_DNS_NOT_FOUND (ERR_SRC_FRAMEWORK + SET_E_CAUSE(1410))
118 /** Thrown when the data is not enough to generate the processing result. */
119 #define E_DATA_NOT_ENOUGH (ERR_SRC_FRAMEWORK + SET_E_CAUSE(1411))
121 /** Thrown when the display right is violated. */
122 #define E_DISPLAY_RIGHT_VIOLATED (ERR_SRC_FRAMEWORK + SET_E_CAUSE(1412))
124 //----------------------------------------------------------------------------E
125 /** Thrown when effects being played on the current haptic device are disabled. */
126 #define E_EFFECTS_DISABLED (ERR_SRC_FRAMEWORK + SET_E_CAUSE(1500))
128 /** Thrown when a body is empty. */
129 #define E_EMPTY_BODY (ERR_SRC_FRAMEWORK + SET_E_CAUSE(1501))
131 /** Thrown when encoding operation fails. */
132 #define E_ENCODING_FAILED (ERR_SRC_FRAMEWORK + SET_E_CAUSE(1502))
134 /** Thrown when an end of the file or an end of the stream is reached unexpectedly
135 * during an input operation. */
136 #define E_END_OF_FILE (ERR_SRC_FRAMEWORK + SET_E_CAUSE(1503))
139 //----------------------------------------------------------------------------F
140 // Thrown when the requested operation fails by undefined reason.
141 //#define E_FAILURE (ERR_SRC_FRAMEWORK + SET_E_CAUSE(1600))
143 /** (specialized) Thrown when application tries to call with a number which is
144 * not allowed in FDN mode, while the FDN mode is enabled. */
145 #define E_FDN_MODE (ERR_SRC_FRAMEWORK + SET_E_CAUSE(1600))
147 /** Thrown when an attempt to create the file denoted by a specified pathname
149 #define E_FILE_ALREADY_EXIST (ERR_SRC_FRAMEWORK + SET_E_CAUSE(1601))
151 /** Thrown when an attempt to open the file denoted by a specified pathname
153 #define E_FILE_NOT_FOUND (ERR_SRC_FRAMEWORK + SET_E_CAUSE(1602))
156 //----------------------------------------------------------------------------G
157 /** Thrown when a required group does not exist. */
158 #define E_GROUP_NOT_FOUND (ERR_SRC_FRAMEWORK + SET_E_CAUSE(1700))
161 //----------------------------------------------------------------------------H
162 /** Thrown the destination host is not found. */
163 #define E_HOST_NOT_FOUND (ERR_SRC_FRAMEWORK + SET_E_CAUSE(1800))
165 /** Thrown when the destination host is unreachable. */
166 #define E_HOST_UNREACHABLE (ERR_SRC_FRAMEWORK + SET_E_CAUSE(1801))
168 /** Thrown the Http transaction is canceled by user. */
169 #define E_HTTP_USER (ERR_SRC_FRAMEWORK + SET_E_CAUSE(1802))
172 //----------------------------------------------------------------------------I
173 /** Thrown when the user does not have proper permissions. */
174 #define E_ILLEGAL_ACCESS (ERR_SRC_FRAMEWORK + SET_E_CAUSE(1900))
176 /** Thrown when the application requests an operation which is in progress. */
177 #define E_IN_PROGRESS (ERR_SRC_FRAMEWORK + SET_E_CAUSE(1901))
179 /** Thrown when the return type is supposed to be a file path, but the path is not accessible by the application. */
180 #define E_INACCESSIBLE_PATH (ERR_SRC_FRAMEWORK + SET_E_CAUSE(1902))
182 /** Thrown when initialization fails. */
183 #define E_INIT_FAILED (ERR_SRC_FRAMEWORK + SET_E_CAUSE(1903))
185 /** Thrown when an instantiation fails by certain reason. */
186 #define E_INSTANTIATION_FAILED (ERR_SRC_FRAMEWORK + SET_E_CAUSE(1904))
188 /** Thrown when the haptic device priority is lower than that of the current
189 * effects being played, belonging to another device instance. */
190 #define E_INSUFFICIENT_PRIORITY (ERR_SRC_FRAMEWORK + SET_E_CAUSE(1905))
192 /** Thrown when a requested operation cannot perform any further due to an
193 * interruption from other thread. */
194 #define E_INTERRUPTED (ERR_SRC_FRAMEWORK + SET_E_CAUSE(1906))
196 /** Thrown when an account configuration is invalid. */
197 #define E_INVALID_ACCOUNT (ERR_SRC_FRAMEWORK + SET_E_CAUSE(1907))
199 /** Thrown when a given address is invalid or not suitable for a requested
201 #define E_INVALID_ADDRESS (ERR_SRC_FRAMEWORK + SET_E_CAUSE(1908))
203 /** Thrown when a combination of passed information is not proper for performing
204 * the requested operation. */
205 #define E_INVALID_ARG (ERR_SRC_FRAMEWORK + SET_E_CAUSE(1909))
207 /** Thrown when a combination of passed information is not proper for performing
208 * the requested operation. */
209 #define E_INVALID_CONDITION (ERR_SRC_FRAMEWORK + SET_E_CAUSE(1910))
211 /** Thrown when an operation requests for invalid connection. */
212 #define E_INVALID_CONNECTION (ERR_SRC_FRAMEWORK + SET_E_CAUSE(1911))
214 /** Thrown when content is invalid. */
215 #define E_INVALID_CONTENT (ERR_SRC_FRAMEWORK + SET_E_CAUSE(1912))
217 /** Thrown when context is invalid. */
218 #define E_INVALID_CONTEXT (ERR_SRC_FRAMEWORK + SET_E_CAUSE(1913))
220 /** Thrown when the requested (given or referenced) data is invalid. */
221 #define E_INVALID_DATA (ERR_SRC_FRAMEWORK + SET_E_CAUSE(1914))
223 /** (specialized) Thrown when the requested (given or referenced) domain is
225 #define E_INVALID_DOMAIN (ERR_SRC_FRAMEWORK + SET_E_CAUSE(1915))
227 /** Thrown when an indicated string contains code pointing outside of bounds by the
228 * specified character encoding scheme. */
229 #define E_INVALID_ENCODING_RANGE (ERR_SRC_FRAMEWORK + SET_E_CAUSE(1916))
231 /** Thrown when the specified input has invalid format. */
232 #define E_INVALID_FORMAT (ERR_SRC_FRAMEWORK + SET_E_CAUSE(1917))
234 /** (specialized) Thrown when */
235 #define E_INVALID_HEADER (ERR_SRC_FRAMEWORK + SET_E_CAUSE(1918))
237 /** Thrown when the specified input has invalid format. */
238 #define E_INVALID_KEY (ERR_SRC_FRAMEWORK + SET_E_CAUSE(1919))
240 /** Thrown when current state of the instance prohibits the execution of the
241 * specified operation. */
242 #define E_INVALID_OPERATION (ERR_SRC_FRAMEWORK + SET_E_CAUSE(1920))
244 /** (specialized) Thrown when the proxy address is invalid. */
245 #define E_INVALID_PROXY (ERR_SRC_FRAMEWORK + SET_E_CAUSE(1921))
247 /** (specialized) Thrown when the SIM is not in proper state for processing the
248 * requested operation. */
249 #define E_INVALID_SIM_STATE (ERR_SRC_FRAMEWORK + SET_E_CAUSE(1922))
251 /** (specialized) Thrown when the DNS request goes to an invalid DNS server. */
252 #define E_INVALID_SERVER (ERR_SRC_FRAMEWORK + SET_E_CAUSE(1923))
254 /** Thrown when the relevant session is invalid. */
255 #define E_INVALID_SESSION (ERR_SRC_FRAMEWORK + SET_E_CAUSE(1924))
257 /** Thrown when the socket which is responsible for the application's request
259 #define E_INVALID_SOCKET (ERR_SRC_FRAMEWORK + SET_E_CAUSE(1925))
261 /** Thrown when an instance is not in valid state. */
262 #define E_INVALID_STATE (ERR_SRC_FRAMEWORK + SET_E_CAUSE(1926))
264 /** Thrown when the relevant transaction is invalid. */
265 #define E_INVALID_TRANSACTION (ERR_SRC_FRAMEWORK + SET_E_CAUSE(1927))
267 /** Thrown when an exception occurs during I/O operations. This is a general
268 * exception produced by failed or interrupted I/O operations. */
269 #define E_IO (ERR_SRC_FRAMEWORK + SET_E_CAUSE(1928))
271 /** Thrown when the client has not joined the domain controller. */
272 #define E_NOT_JOINED (ERR_SRC_FRAMEWORK + SET_E_CAUSE(1929))
274 /** The server certificate verification has failed on client. */
275 #define E_INVALID_CERTIFICATE (ERR_SRC_FRAMEWORK + SET_E_CAUSE(1930))
277 /** Thrown when a given url is invalid or not suitable for a requested
279 #define E_INVALID_URL (ERR_SRC_FRAMEWORK + SET_E_CAUSE(1931))
281 /** Thrown when the specified user id has invalid format. */
282 #define E_INVALID_USER_ID (ERR_SRC_FRAMEWORK + SET_E_CAUSE(1932))
284 /** Thrown when the specified password has invalid format. */
285 #define E_INVALID_PASSWORD (ERR_SRC_FRAMEWORK + SET_E_CAUSE(1933))
288 //----------------------------------------------------------------------------J
290 //----------------------------------------------------------------------------K
291 /** Thrown when a specified key already exists. */
292 #define E_KEY_ALREADY_EXIST (ERR_SRC_FRAMEWORK + SET_E_CAUSE(2100))
294 /** Thrown when a required key does not exist. */
295 #define E_KEY_NOT_FOUND (ERR_SRC_FRAMEWORK + SET_E_CAUSE(2101))
297 //----------------------------------------------------------------------------L
298 /** Thrown when an error related to handling landmark occurs. */
299 #define E_LANDMARK (ERR_SRC_FRAMEWORK + SET_E_CAUSE(2200))
301 /** Thrown when a specified library does not exists. */
302 #define E_LIBRARY_NOT_FOUND (ERR_SRC_FRAMEWORK + SET_E_CAUSE(2201))
304 /** Thrown when a specified library is not loaded. */
305 #define E_LIBRARY_NOT_LOADED (ERR_SRC_FRAMEWORK + SET_E_CAUSE(2202))
307 /** (specialized) Thrown when a link error occurs. */
308 #define E_LINK (ERR_SRC_FRAMEWORK + SET_E_CAUSE(2203))
310 /** Thrown when a Location API specific error has occurred. */
311 #define E_LOCATION (ERR_SRC_FRAMEWORK + SET_E_CAUSE(2204))
313 /** Thrown when an error related to handling service provider requests has
315 #define E_LOCATION_SERVICE (ERR_SRC_FRAMEWORK + SET_E_CAUSE(2205))
317 /** Thrown when locking (or unlocking) fails inside the logic. So cannot
318 * guarantee synchronous operation. */
319 #define E_LOCK_FAILED (ERR_SRC_FRAMEWORK + SET_E_CAUSE(2206))
321 /** Thrown when the language is not set yet. */
322 #define E_LANGUAGE_NOT_SET (ERR_SRC_FRAMEWORK + SET_E_CAUSE(2207))
324 /** Thrown when a location is not available */
325 #define E_LOCATION_UNAVAILABLE (ERR_SRC_FRAMEWORK + SET_E_CAUSE(2208))
327 //----------------------------------------------------------------------------M
328 /** Thrown when the defined limit exceeds. */
329 #define E_MAX_EXCEEDED (ERR_SRC_FRAMEWORK + SET_E_CAUSE(2300))
331 /** Thrown when one or more of the required input is not provided. */
332 #define E_MISSING_INPUT (ERR_SRC_FRAMEWORK + SET_E_CAUSE(2301))
334 /** (specialized) ... */
335 #define E_MOBILE_FAILED (ERR_SRC_FRAMEWORK + SET_E_CAUSE(2302))
337 /** (specialized) ... */
338 #define E_MODEL_NOT_FOUND (ERR_SRC_FRAMEWORK + SET_E_CAUSE(2303))
340 /** Thrown when a specified member already exists. */
341 #define E_MEMBER_ALREADY_EXIST (ERR_SRC_FRAMEWORK + SET_E_CAUSE(2304))
344 //----------------------------------------------------------------------------N
345 /** General network exception. */
346 #define E_NETWORK_FAILED (ERR_SRC_FRAMEWORK + SET_E_CAUSE(2400))
348 /** Thrown when the network is not enabled. */
349 #define E_NETWORK_UNAVAILABLE (ERR_SRC_FRAMEWORK + SET_E_CAUSE(2401))
351 /** Thrown the client certificate is required to connect to the server. */
352 #define E_NO_CERTIFICATE (ERR_SRC_FRAMEWORK + SET_E_CAUSE(2402))
354 /** Thrown when the operation is permitted only for members, but the current
356 #define E_NOT_A_MEMBER (ERR_SRC_FRAMEWORK + SET_E_CAUSE(2403))
358 /** (specialized) Thrown when Bluetooth pairing is not established. */
359 #define E_NOT_PAIRED (ERR_SRC_FRAMEWORK + SET_E_CAUSE(2404))
361 /** Thrown when the target is not responding. */
362 #define E_NOT_RESPONDING (ERR_SRC_FRAMEWORK + SET_E_CAUSE(2405))
364 /** Thrown when the specified string does not represent valid number. */
365 #define E_NUM_FORMAT (ERR_SRC_FRAMEWORK + SET_E_CAUSE(2406))
367 //----------------------------------------------------------------------------O
368 /** Thrown when the specified instance already exists. */
369 #define E_OBJ_ALREADY_EXIST (ERR_SRC_FRAMEWORK + SET_E_CAUSE(2500))
371 /** Thrown when the required instance does not exist. */
372 #define E_OBJ_NOT_FOUND (ERR_SRC_FRAMEWORK + SET_E_CAUSE(2501))
374 /** Thrown when the specified instance is already locked. */
375 #define E_OBJECT_LOCKED (ERR_SRC_FRAMEWORK + SET_E_CAUSE(2502))
377 /** Thrown when any request occurs while the target is still
379 #define E_ON_INITIALIZING (ERR_SRC_FRAMEWORK + SET_E_CAUSE(2503))
381 /** Thrown when the operation is canceled explicitly. */
382 #define E_OPERATION_CANCELED (ERR_SRC_FRAMEWORK + SET_E_CAUSE(2504))
384 /** Thrown when the operation fails due to certain reason. */
385 #define E_OPERATION_FAILED (ERR_SRC_FRAMEWORK + SET_E_CAUSE(2505))
387 /** Thrown when the memory is not sufficient to perform the requested
389 #define E_OUT_OF_MEMORY (ERR_SRC_FRAMEWORK + SET_E_CAUSE(2506))
391 /** Thrown when the internal state of the current instance reaches the
393 #define E_OUT_OF_RANGE (ERR_SRC_FRAMEWORK + SET_E_CAUSE(2507))
395 /** Thrown when the operation has caused an overflow. */
396 #define E_OVERFLOW (ERR_SRC_FRAMEWORK + SET_E_CAUSE(2508))
398 /** Thrown when OpenGL operation failed. */
399 #define E_OPENGL_ERROR (ERR_SRC_FRAMEWORK + SET_E_CAUSE(2509))
402 //----------------------------------------------------------------------------P
403 /** (specialized) Thrown when the requested Bluetooth pairing fails. */
404 #define E_PAIRING_FAILED (ERR_SRC_FRAMEWORK + SET_E_CAUSE(2600))
406 /** Thrown when the parsing fails due to any reason. */
407 #define E_PARSING_FAILED (ERR_SRC_FRAMEWORK + SET_E_CAUSE(2601))
409 /** Thrown when an application invokes an API without a proper privilege. */
410 #define E_PRIVILEGE_DENIED (ERR_SRC_FRAMEWORK + SET_E_CAUSE(2602))
412 /** Thrown when the package is not installed. */
413 #define E_PKG_NOT_INSTALLED (ERR_SRC_FRAMEWORK + SET_E_CAUSE(2603))
415 //----------------------------------------------------------------------------Q
417 //----------------------------------------------------------------------------R
418 /** Thrown when a write operation is requested for an instance in read only
420 #define E_READ_ONLY (ERR_SRC_FRAMEWORK + SET_E_CAUSE(2800))
422 /** Thrown when the operation is rejected by remote site. */
423 #define E_REJECTED (ERR_SRC_FRAMEWORK + SET_E_CAUSE(2801))
426 #define E_REMOTE_DEVICE_NOT_FOUND (ERR_SRC_FRAMEWORK + SET_E_CAUSE(2802))
429 #define E_REMOVE_SERVICE_NOT_FOUND (ERR_SRC_FRAMEWORK + SET_E_CAUSE(2803))
431 /** Thrown when the required resource is currently unavailable. */
432 #define E_RESOURCE_UNAVAILABLE (ERR_SRC_FRAMEWORK + SET_E_CAUSE(2804))
434 /** Thrown when the right to get served has expired. */
435 #define E_RIGHT_EXPIRED (ERR_SRC_FRAMEWORK + SET_E_CAUSE(2805))
437 /** Thrown when there is no right. */
438 #define E_RIGHT_NO_LICENSE (ERR_SRC_FRAMEWORK + SET_E_CAUSE(2806))
440 /** Thrown when the right is for future use. */
441 #define E_RIGHT_FUTURE_USE (ERR_SRC_FRAMEWORK + SET_E_CAUSE(2807))
443 //----------------------------------------------------------------------------S
444 /** Thrown when the specified section already exists. */
445 #define E_SECTION_ALREADY_EXIST (ERR_SRC_FRAMEWORK + SET_E_CAUSE(2900))
447 /** Thrown when the required section does not exist. */
448 #define E_SECTION_NOT_FOUND (ERR_SRC_FRAMEWORK + SET_E_CAUSE(2901))
450 /** Thrown when a server tells the device that operation failed due to some
451 * reason. Detailed message will be followed by - error code and an error message. */
452 #define E_SERVER (ERR_SRC_FRAMEWORK + SET_E_CAUSE(2902))
454 /** Thrown when the dedicated service module is too busy to handle another
456 #define E_SERVICE_BUSY (ERR_SRC_FRAMEWORK + SET_E_CAUSE(2903))
458 /** Thrown when the specific service is restricted by policy. */
459 #define E_SERVICE_LIMITED (ERR_SRC_FRAMEWORK + SET_E_CAUSE(2904))
461 /** Thrown when a service is locked. */
462 #define E_SERVICE_LOCKED (ERR_SRC_FRAMEWORK + SET_E_CAUSE(2905))
464 /** Thrown when the dedicated service is not available. */
465 #define E_SERVICE_UNAVAILABLE (ERR_SRC_FRAMEWORK + SET_E_CAUSE(2906))
467 /** Thrown when the base session is deactivated while it's still being used. */
468 #define E_SESSION_DEACTIVATED (ERR_SRC_FRAMEWORK + SET_E_CAUSE(2907))
471 #define E_SESSION_UNAVAILABLE (ERR_SRC_FRAMEWORK + SET_E_CAUSE(2908))
474 #define E_SIZE_MISMATCH (ERR_SRC_FRAMEWORK + SET_E_CAUSE(2909))
476 /** The socket connection closed by user. */
477 #define E_SOCKET_USER (ERR_SRC_FRAMEWORK + SET_E_CAUSE(2910))
479 /** Thrown when the storage is full. */
480 #define E_STORAGE_FULL (ERR_SRC_FRAMEWORK + SET_E_CAUSE(2911))
482 /** Thrown when the specified symbol is not found. */
483 #define E_SYMBOL_NOT_FOUND (ERR_SRC_FRAMEWORK + SET_E_CAUSE(2912))
485 /** Thrown when the input statement does not confirm to the specific syntax. */
486 #define E_SYNTAX (ERR_SRC_FRAMEWORK + SET_E_CAUSE(2913))
488 /** Thrown when a failure occurs from the underlying system. */
489 #define E_SYSTEM (ERR_SRC_FRAMEWORK + SET_E_CAUSE(2914))
491 /** Thrown when a service is deactivated. */
492 #define E_SERVICE_DEACTIVATED (ERR_SRC_FRAMEWORK + SET_E_CAUSE(2915))
495 //----------------------------------------------------------------------------T
496 /** (specialized) Thrown then the specified table does not exist. */
497 #define E_TABLE_NOT_FOUND (ERR_SRC_FRAMEWORK + SET_E_CAUSE(3000))
499 /** Thrown when the operation can not be completed within the specified time
501 #define E_TIMEOUT (ERR_SRC_FRAMEWORK + SET_E_CAUSE(3001))
503 /** Thrown when the specified type does not match. */
504 #define E_TYPE_MISMATCH (ERR_SRC_FRAMEWORK + SET_E_CAUSE(3002))
507 //----------------------------------------------------------------------------U
508 /** Thrown when the operation causes an underflow. */
509 #define E_UNDERFLOW (ERR_SRC_FRAMEWORK + SET_E_CAUSE(3100))
511 /** Thrown when a unknown error occurs. */
512 #define E_UNKNOWN (ERR_SRC_FRAMEWORK + SET_E_CAUSE(3101))
514 /** Thrown when the specified algorithm is not supported. */
515 #define E_UNSUPPORTED_ALGORITHM (ERR_SRC_FRAMEWORK + SET_E_CAUSE(3102))
517 /** Thrown when the required CODEC is not found. */
518 #define E_UNSUPPORTED_CODEC (ERR_SRC_FRAMEWORK + SET_E_CAUSE(3103))
520 /** (specialized) Thrown when the requested address family is not supported. */
521 #define E_UNSUPPORTED_FAMILY (ERR_SRC_FRAMEWORK + SET_E_CAUSE(3104))
523 /** Thrown when the current implementation does not support the format of the
525 #define E_UNSUPPORTED_FORMAT (ERR_SRC_FRAMEWORK + SET_E_CAUSE(3105))
527 /** Thrown when the specified protocol is not supported. */
528 #define E_UNSUPPORTED_PROTOCOL (ERR_SRC_FRAMEWORK + SET_E_CAUSE(3106))
530 /** Thrown when the current implementation does not support the requested
532 #define E_UNSUPPORTED_OPERATION (ERR_SRC_FRAMEWORK + SET_E_CAUSE(3107))
534 /** Thrown when the specified option is not supported. */
535 #define E_UNSUPPORTED_OPTION (ERR_SRC_FRAMEWORK + SET_E_CAUSE(3108))
537 /** Thrown when the specified service is not supported. */
538 #define E_UNSUPPORTED_SERVICE (ERR_SRC_FRAMEWORK + SET_E_CAUSE(3109))
540 /** Thrown when the specified type is not supported. */
541 #define E_UNSUPPORTED_TYPE (ERR_SRC_FRAMEWORK + SET_E_CAUSE(3110))
543 /** Thrown when the URL is changed. */
544 #define E_URL_CHANGED (ERR_SRC_FRAMEWORK + SET_E_CAUSE(3111))
546 /** (specialized) used by HTTP transaction. */
547 #define E_USER_AGENT_NOT_ALLOWED (ERR_SRC_FRAMEWORK + SET_E_CAUSE(3112))
549 /** Thrown when a user is already registered to the device. */
550 #define E_USER_ALREADY_REGISTERED (ERR_SRC_FRAMEWORK + SET_E_CAUSE(3113))
552 /** Thrown when the required user does not exist. */
553 #define E_USER_NOT_FOUND (ERR_SRC_FRAMEWORK + SET_E_CAUSE(3114))
555 /** Thrown when no user is registered to the device yet. */
556 #define E_USER_NOT_REGISTERED (ERR_SRC_FRAMEWORK + SET_E_CAUSE(3115))
558 /** Thrown when the specified language is not supported. */
559 #define E_UNSUPPORTED_LANGUAGE (ERR_SRC_FRAMEWORK + SET_E_CAUSE(3116))
561 /** Thrown when the specified version of the input content is not supported. */
562 #define E_UNSUPPORTED_VERSION (ERR_SRC_FRAMEWORK + SET_E_CAUSE(3117))
564 /** Thrown when the specified locale is not supported. */
565 #define E_UNSUPPORTED_LOCALE (ERR_SRC_FRAMEWORK + SET_E_CAUSE(3118))
567 /** Thrown when the user blocks an application from using the user information. */
568 #define E_USER_NOT_CONSENTED (ERR_SRC_FRAMEWORK + SET_E_CAUSE(3119))
570 //----------------------------------------------------------------------------V
572 //----------------------------------------------------------------------------W
573 /** (specialized) Thrown when non-blocking socket operation could not be
574 * completed immediately. */
575 #define E_WOULD_BLOCK (ERR_SRC_FRAMEWORK + SET_E_CAUSE(3300))
577 /** Thrown when the specified object would cause a deadlock. */
578 #define E_WOULD_DEADLOCK (ERR_SRC_FRAMEWORK + SET_E_CAUSE(3301))
581 //----------------------------------------------------------------------------X
583 //----------------------------------------------------------------------------Y
585 //----------------------------------------------------------------------------Z
588 //-----------------------------------------------------------------------------
590 #endif // _FBASE_ERRORS_H_