|
1 // Copyright (c) 2000-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
2 // All rights reserved. |
|
3 // This component and the accompanying materials are made available |
|
4 // under the terms of "Eclipse Public License v1.0" |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // |
|
15 |
|
16 RESOURCE ARRAY r_error_res_wap_errors_engine |
|
17 { |
|
18 items= |
|
19 { |
|
20 SINGLE_ERROR |
|
21 { |
|
22 text=r_error_res_wap_general_error; // -10000 |
|
23 }, |
|
24 SINGLE_ERROR |
|
25 { |
|
26 text=r_error_res_wap_doc_not_found; // -10001 |
|
27 }, |
|
28 SINGLE_ERROR |
|
29 { |
|
30 text=r_error_res_wap_doc_corrupt; // -10002 |
|
31 }, |
|
32 SINGLE_ERROR |
|
33 { |
|
34 text=r_error_res_wap_access_violation; // -10003 |
|
35 }, |
|
36 SINGLE_ERROR |
|
37 { |
|
38 text=r_error_res_wap_data_call_dropped; // -10004 |
|
39 }, |
|
40 SINGLE_ERROR |
|
41 { |
|
42 text=r_error_res_wap_data_call_unavail; // -10005 |
|
43 }, |
|
44 SINGLE_ERROR |
|
45 { |
|
46 text=r_error_res_wap_script_not_found; // -10006 |
|
47 }, |
|
48 SINGLE_ERROR |
|
49 { |
|
50 text=r_error_res_wap_script_error; // -10007 |
|
51 }, |
|
52 SINGLE_ERROR |
|
53 { |
|
54 text=r_error_res_wap_script_corrupt; // -10008 |
|
55 }, |
|
56 SINGLE_ERROR |
|
57 { |
|
58 text=r_error_res_wap_script_illegal_action; // -10009 |
|
59 }, |
|
60 SINGLE_ERROR |
|
61 { |
|
62 text=r_error_res_wap_script_obscure_call; // -10010 |
|
63 }, |
|
64 SINGLE_ERROR |
|
65 { |
|
66 text=r_error_res_wap_auth_failed; // -10011 |
|
67 }, |
|
68 SINGLE_ERROR |
|
69 { |
|
70 text=r_error_res_wap_protocol_not_supported; // -10012 |
|
71 }, |
|
72 SINGLE_ERROR |
|
73 { |
|
74 text=r_error_res_wap_access_point_not_setup; // -10013 |
|
75 }, |
|
76 SINGLE_ERROR |
|
77 { |
|
78 text=r_error_res_wap_access_point_not_setup_ussd; // -10014 |
|
79 }, |
|
80 SINGLE_ERROR |
|
81 { |
|
82 text=r_error_res_wap_access_point_not_setup_sms; // -10015 |
|
83 }, |
|
84 SINGLE_ERROR |
|
85 { |
|
86 text=r_error_res_wap_access_point_not_setup_csd; // -10016 |
|
87 }, |
|
88 SINGLE_ERROR |
|
89 { |
|
90 text=r_error_res_wap_image_conv_failed; // -10017 |
|
91 }, |
|
92 SINGLE_ERROR |
|
93 { |
|
94 text=r_error_res_wap_plugin_not_found; // -10018 |
|
95 }, |
|
96 SINGLE_ERROR |
|
97 { |
|
98 text=r_error_res_wap_corrupt_url; // -10019 |
|
99 }, |
|
100 SINGLE_ERROR |
|
101 { |
|
102 text=r_error_res_wap_corrupt_scheme; // -10020 |
|
103 }, |
|
104 SINGLE_ERROR |
|
105 { |
|
106 text=r_error_res_wap_unknown_scheme; // -10021 |
|
107 }, |
|
108 SINGLE_ERROR |
|
109 { |
|
110 text=r_error_res_wap_dtd_unavailable; // -10022 |
|
111 }, |
|
112 SINGLE_ERROR |
|
113 { |
|
114 text=r_error_res_wap_invalid_dtd; // -10023 |
|
115 }, |
|
116 SINGLE_ERROR |
|
117 { |
|
118 text=r_error_res_wap_unknown_document; // -10024 |
|
119 }, |
|
120 SINGLE_ERROR |
|
121 { |
|
122 text=r_error_res_wap_mime_type_missing; // -10025 |
|
123 } |
|
124 }; |
|
125 } |
|
126 |
|
127 RESOURCE TBUF r_error_res_wap_general_error { buf="A general error has occurred"; } |
|
128 RESOURCE TBUF r_error_res_wap_doc_not_found { buf="The requested document cannot be found"; } |
|
129 RESOURCE TBUF r_error_res_wap_doc_corrupt { buf="This document is corrupt and cannot be read"; } |
|
130 RESOURCE TBUF r_error_res_wap_access_violation { buf="Access to this document has been denied"; } |
|
131 RESOURCE TBUF r_error_res_wap_data_call_dropped { buf="The data call has been closed"; } |
|
132 RESOURCE TBUF r_error_res_wap_data_call_unavail { buf="The data call is being used by another application"; } |
|
133 RESOURCE TBUF r_error_res_wap_script_not_found { buf="The requested script has not been found"; } |
|
134 RESOURCE TBUF r_error_res_wap_script_error { buf="This script has returned a fatal error"; } |
|
135 RESOURCE TBUF r_error_res_wap_script_corrupt { buf="There is an error in this script"; } |
|
136 RESOURCE TBUF r_error_res_wap_script_illegal_action { buf="The script attempted an illegal action and has been terminated"; } |
|
137 RESOURCE TBUF r_error_res_wap_script_obscure_call { buf="The script has attempted a function which is unavailable"; } |
|
138 RESOURCE TBUF r_error_res_wap_auth_failed { buf="Authorization has failed"; } |
|
139 RESOURCE TBUF r_error_res_wap_protocol_not_supported { buf="The current network does not support the requested service"; } |
|
140 RESOURCE TBUF r_error_res_wap_access_point_not_setup { buf="Access point information is missing"; } |
|
141 RESOURCE TBUF r_error_res_wap_access_point_not_setup_ussd { buf="Access point information is missing (USSD)"; } |
|
142 RESOURCE TBUF r_error_res_wap_access_point_not_setup_sms { buf="Access point information is missing (SMS)"; } |
|
143 RESOURCE TBUF r_error_res_wap_access_point_not_setup_csd { buf="Access point information is missing (CSD)"; } |
|
144 RESOURCE TBUF r_error_res_wap_image_conv_failed { buf="Image conversion has failed"; } |
|
145 RESOURCE TBUF r_error_res_wap_plugin_not_found { buf="The requested plugin has not been found"; } |
|
146 RESOURCE TBUF r_error_res_wap_corrupt_url { buf="Part of the URL contains invalid characters"; } |
|
147 RESOURCE TBUF r_error_res_wap_corrupt_scheme { buf="Part of the scheme contains invalid characters"; } |
|
148 RESOURCE TBUF r_error_res_wap_unknown_scheme { buf="Unknown scheme"; } |
|
149 RESOURCE TBUF r_error_res_wap_dtd_unavailable { buf="Document cannot be validated as DTD is not available"; } |
|
150 RESOURCE TBUF r_error_res_wap_invalid_dtd { buf="DTD is invalid"; } |
|
151 RESOURCE TBUF r_error_res_wap_unknown_document { buf="The document requested cannot be found"; } |
|
152 RESOURCE TBUF r_error_res_wap_mime_type_missing { buf="MIME information is missing"; } |
|
153 |
|
154 RESOURCE ARRAY r_error_res_wap_errors_http |
|
155 { |
|
156 items= |
|
157 { |
|
158 SINGLE_ERROR |
|
159 { |
|
160 text=r_error_res_http_general_error; // -20000 |
|
161 }, |
|
162 SINGLE_ERROR |
|
163 { |
|
164 text=r_error_res_http_cannot_find_server; // -20001 |
|
165 }, |
|
166 SINGLE_ERROR |
|
167 { |
|
168 text=r_error_res_http_cannot_find_plugin; // -20002 |
|
169 }, |
|
170 SINGLE_ERROR |
|
171 { |
|
172 text=r_error_res_http_unsupported_method; // -20003 |
|
173 }, |
|
174 SINGLE_ERROR |
|
175 { |
|
176 text=r_error_res_http_read_failure; // -20004 |
|
177 }, |
|
178 SINGLE_ERROR |
|
179 { |
|
180 text=r_error_res_http_dial_setup_failed; // -20005 |
|
181 }, |
|
182 SINGLE_ERROR |
|
183 { |
|
184 text=r_error_res_http_wtls_config_failed; // -20006 |
|
185 }, |
|
186 SINGLE_ERROR |
|
187 { |
|
188 text=r_error_res_http_wtls_bad_server_cert; // -20007 |
|
189 }, |
|
190 SINGLE_ERROR |
|
191 { |
|
192 text=r_error_res_http_wtls_cert_rejected; // -20008 |
|
193 }, |
|
194 SINGLE_ERROR |
|
195 { |
|
196 text=r_error_res_http_wtls_cipher_rejected; // -20009 |
|
197 }, |
|
198 SINGLE_ERROR |
|
199 { |
|
200 text=r_error_res_http_auth_failed; // -20010 |
|
201 }, |
|
202 SINGLE_ERROR |
|
203 { |
|
204 text=r_error_res_http_auth_aborted; // -20011 |
|
205 } |
|
206 }; |
|
207 } |
|
208 |
|
209 RESOURCE TBUF r_error_res_http_general_error { buf="A general error has occurred"; } |
|
210 RESOURCE TBUF r_error_res_http_cannot_find_server { buf="The URL specified a non-existent or inaccessible server"; } |
|
211 RESOURCE TBUF r_error_res_http_cannot_find_plugin { buf="The plugin name/type was not found on the device"; } |
|
212 RESOURCE TBUF r_error_res_http_unsupported_method { buf="The method requested is not supported"; } |
|
213 RESOURCE TBUF r_error_res_http_read_failure { buf="Access point information is missing"; } |
|
214 RESOURCE TBUF r_error_res_http_dial_setup_failed { buf="Net dial setup has failed"; } |
|
215 RESOURCE TBUF r_error_res_http_wtls_config_failed { buf="The WAP stack has been configured incorrectly for WTLS"; } |
|
216 RESOURCE TBUF r_error_res_http_wtls_bad_server_cert { buf="The WAP stack has rejected the gateway certificate"; } |
|
217 RESOURCE TBUF r_error_res_http_wtls_cert_rejected { buf="The security certificate has been rejected and the session will be aborted"; } |
|
218 RESOURCE TBUF r_error_res_http_wtls_cipher_rejected { buf="The session has been aborted due to low security status"; } |
|
219 RESOURCE TBUF r_error_res_http_auth_failed { buf="Authorization has failed"; } |
|
220 RESOURCE TBUF r_error_res_http_auth_aborted { buf="Authorization has been aborted"; } |
|
221 |
|
222 |
|
223 RESOURCE ARRAY r_error_res_wap_statuses_http400 |
|
224 { |
|
225 items= |
|
226 { |
|
227 SINGLE_ERROR |
|
228 { |
|
229 text=r_error_res_http_400; // -20400 |
|
230 }, |
|
231 SINGLE_ERROR |
|
232 { |
|
233 text=r_error_res_http_401; // -20401 |
|
234 }, |
|
235 SINGLE_ERROR |
|
236 { |
|
237 text=r_error_res_http_402; // -20402 |
|
238 }, |
|
239 SINGLE_ERROR |
|
240 { |
|
241 text=r_error_res_http_403; // -20403 |
|
242 }, |
|
243 SINGLE_ERROR |
|
244 { |
|
245 text=r_error_res_http_404; // -20404 |
|
246 }, |
|
247 SINGLE_ERROR |
|
248 { |
|
249 text=r_error_res_http_405; // -20405 |
|
250 }, |
|
251 SINGLE_ERROR |
|
252 { |
|
253 text=r_error_res_http_406; // -20406 |
|
254 }, |
|
255 SINGLE_ERROR |
|
256 { |
|
257 text=r_error_res_http_407; // -20407 |
|
258 }, |
|
259 SINGLE_ERROR |
|
260 { |
|
261 text=r_error_res_http_408; // -20408 |
|
262 }, |
|
263 SINGLE_ERROR |
|
264 { |
|
265 text=r_error_res_http_409; // -20409 |
|
266 }, |
|
267 SINGLE_ERROR |
|
268 { |
|
269 text=r_error_res_http_410; // -20410 |
|
270 }, |
|
271 SINGLE_ERROR |
|
272 { |
|
273 text=r_error_res_http_411; // -20411 |
|
274 }, |
|
275 SINGLE_ERROR |
|
276 { |
|
277 text=r_error_res_http_412; // -20412 |
|
278 }, |
|
279 SINGLE_ERROR |
|
280 { |
|
281 text=r_error_res_http_413; // -20413 |
|
282 }, |
|
283 SINGLE_ERROR |
|
284 { |
|
285 text=r_error_res_http_414; // -20414 |
|
286 }, |
|
287 SINGLE_ERROR |
|
288 { |
|
289 text=r_error_res_http_415; // -20415 |
|
290 } |
|
291 }; |
|
292 } |
|
293 |
|
294 RESOURCE ARRAY r_error_res_wap_statuses_http500 |
|
295 { |
|
296 items= |
|
297 { |
|
298 SINGLE_ERROR |
|
299 { |
|
300 text=r_error_res_http_500; // -20500 |
|
301 }, |
|
302 SINGLE_ERROR |
|
303 { |
|
304 text=r_error_res_http_501; // -20501 |
|
305 }, |
|
306 SINGLE_ERROR |
|
307 { |
|
308 text=r_error_res_http_502; // -20502 |
|
309 }, |
|
310 SINGLE_ERROR |
|
311 { |
|
312 text=r_error_res_http_503; // -20503 |
|
313 }, |
|
314 SINGLE_ERROR |
|
315 { |
|
316 text=r_error_res_http_504; // -20504 |
|
317 }, |
|
318 SINGLE_ERROR |
|
319 { |
|
320 text=r_error_res_http_505; // -20505 |
|
321 } |
|
322 }; |
|
323 } |
|
324 |
|
325 RESOURCE TBUF r_error_res_http_400 { buf="The request sent does not use the correct syntax"; } |
|
326 RESOURCE TBUF r_error_res_http_401 { buf="Unauthorized request, authentication must be used"; } |
|
327 RESOURCE TBUF r_error_res_http_402 { buf="Payment is required for this action to succeed"; } |
|
328 RESOURCE TBUF r_error_res_http_403 { buf="The document requested cannot be disclosed by the server"; } |
|
329 RESOURCE TBUF r_error_res_http_404 { buf="The document requested cannot be found on the server"; } |
|
330 RESOURCE TBUF r_error_res_http_405 { buf="The method requested is not currently allowed"; } |
|
331 RESOURCE TBUF r_error_res_http_406 { buf="The header information of the returned resource is incorrect"; } |
|
332 RESOURCE TBUF r_error_res_http_407 { buf="Proxy authentication is required"; } |
|
333 RESOURCE TBUF r_error_res_http_408 { buf="The request has timed out"; } |
|
334 RESOURCE TBUF r_error_res_http_409 { buf="A Conflict has occurred"; } |
|
335 RESOURCE TBUF r_error_res_http_410 { buf="The document requested cannot be found on the server"; } |
|
336 RESOURCE TBUF r_error_res_http_411 { buf="Length is required here"; } |
|
337 RESOURCE TBUF r_error_res_http_412 { buf="A precondition has not been met"; } |
|
338 RESOURCE TBUF r_error_res_http_413 { buf="The request entity is too large"; } |
|
339 RESOURCE TBUF r_error_res_http_414 { buf="The URL requested is too long"; } |
|
340 RESOURCE TBUF r_error_res_http_415 { buf="The media type requested is unsupported"; } |
|
341 RESOURCE TBUF r_error_res_http_500 { buf="An internal server error has occurred"; } |
|
342 RESOURCE TBUF r_error_res_http_501 { buf="An internal server error has occurred"; } |
|
343 RESOURCE TBUF r_error_res_http_502 { buf="An error has occurred within the WAP gateway"; } |
|
344 RESOURCE TBUF r_error_res_http_503 { buf="The service requested is unavailable"; } |
|
345 RESOURCE TBUF r_error_res_http_504 { buf="The connection to the gateway has timed out"; } |
|
346 RESOURCE TBUF r_error_res_http_505 { buf="This HTTP version is not supported"; } |