1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2<html xml:lang="en-US" lang="en-US" xmlns="http://www.w3.org/1999/xhtml">
3  <head>
4    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
5    <meta http-equiv="Content-Style-Type" content="text/css" />
6    <link rel="stylesheet" href="../../css/manpage.css" type="text/css" />
7<title>TaskResultCode</title>
8  </head>
9  <body>
10<h1><CODE><a href="../../nn/Overview.html">nn</a>::<a href="../../nn/boss/Overview.html">boss</a>::TaskResultCode</CODE> Enumerated Type</h1>
11<h2>Syntax</h2>
12    <div class="section">
13      <pre class="definition">
14enum TaskResultCode;
15</pre>
16    </div>
17<h2>Value</h2>
18    <div class="section">
19      <table class="arguments">
20        <thead>
21          <tr>
22<th>Value</th>
23<td>Description</td>
24          </tr>
25        </thead>
26        <tr>
27<th><CODE>TASK_SUCCESS</CODE></th>
28<td><CODE>0</CODE>: The task succeeded.</td>
29        </tr>
30        <tr>
31<th><CODE>BOSS_ERROR_NOMEM</CODE></th>
32<td><CODE>1</CODE>: Dynamic memory allocation failure.</td>
33        </tr>
34        <tr>
35<th><CODE>GET_TASK_RESULT_ERROR</CODE></th>
36<td><CODE>2</CODE>: Could not get the task result.</td>
37        </tr>
38        <tr>
39<th><CODE>TASK_NOT_EXIST</CODE></th>
40<td><CODE>3</CODE>: The specified task does not exist.</td>
41        </tr>
42        <tr>
43<th><CODE>TASK_CANCELED</CODE></th>
44<td><CODE>4</CODE>: The task was canceled.</td>
45        </tr>
46        <tr>
47<th><CODE>HTTP_ERROR_NOMEM</CODE></th>
48<td><CODE>5</CODE>: Failed to get memory dynamically during HTTP communication.</td>
49        </tr>
50        <tr>
51<th><CODE>HTTP_ERROR_CREATE_EVENT</CODE></th>
52<td><CODE>6</CODE>: Failed to create an internal resource (event) during HTTP communication.</td>
53        </tr>
54        <tr>
55<th><CODE>HTTP_ERROR_CREATE_MUTEX</CODE></th>
56<td><CODE>7</CODE>: Failed to create an internal resource (mutex) during HTTP communication.</td>
57        </tr>
58        <tr>
59<th><CODE>HTTP_ERROR_CREATE_QUEUE</CODE></th>
60<td><CODE>8</CODE>: Failed to create an internal resource (queue) during HTTP communication.</td>
61        </tr>
62        <tr>
63<th><CODE>HTTP_ERROR_CREATE_THREAD</CODE></th>
64<td><CODE>9</CODE>: Failed to create an internal resource (thread) during HTTP communication.</td>
65        </tr>
66        <tr>
67<th><CODE>HTTP_ERROR_IPC_SESSION</CODE></th>
68<td><CODE>10</CODE>: Invalid IPC session.</td>
69        </tr>
70        <tr>
71<th><CODE>HTTP_ERROR_CLIENT_PROCESS_MAX</CODE></th>
72<td><CODE>11</CODE>: The maximum number of simultaneous client processes are already in use.</td>
73        </tr>
74        <tr>
75<th><CODE>HTTP_ERROR_IPC_SESSION_MAX</CODE></th>
76<td><CODE>12</CODE>: The maximum number of simultaneous IPC sessions are already connected.</td>
77        </tr>
78        <tr>
79<th><CODE>HTTP_ERROR_MSGQ_SEND_LSN</CODE></th>
80<td><CODE>13</CODE>: Failed to send data to a listener thread's message queue.</td>
81        </tr>
82        <tr>
83<th><CODE>HTTP_ERROR_MSGQ_RECV_LSN</CODE></th>
84<td><CODE>14</CODE>: Failed to receive data from a listener thread's message queue.</td>
85        </tr>
86        <tr>
87<th><CODE>HTTP_ERROR_MSGQ_SEND_COMM</CODE></th>
88<td><CODE>15</CODE>: Failed to receive data from a communication thread's message queue.</td>
89        </tr>
90        <tr>
91<th><CODE>HTTP_ERROR_CONN_NOMORE</CODE></th>
92<td><CODE>16</CODE>: Exceeded the maximum number of connection handles that can be registered.</td>
93        </tr>
94        <tr>
95<th><CODE>HTTP_ERROR_CONN_STATUS</CODE></th>
96<td><CODE>17</CODE>: Invalid connection handle status.</td>
97        </tr>
98        <tr>
99<th><CODE>HTTP_ERROR_CONN_ADD</CODE></th>
100<td><CODE>18</CODE>: Failed to register a connection handle.</td>
101        </tr>
102        <tr>
103<th><CODE>HTTP_ERROR_CONN_HOST_MAX</CODE></th>
104<td><CODE>19</CODE>: Exceeded the maximum number of simultaneous connections to the same host.</td>
105        </tr>
106        <tr>
107<th><CODE>HTTP_ERROR_INVALID_URL</CODE></th>
108<td><CODE>20</CODE>: Invalid URL.</td>
109        </tr>
110        <tr>
111<th><CODE>HTTP_ERROR_RESPONSE_HEADER</CODE></th>
112<td><CODE>21</CODE>: Invalid HTTP header.</td>
113        </tr>
114        <tr>
115<th><CODE>HTTP_ERROR_NO_NEWLINE</CODE></th>
116<td><CODE>22</CODE>No newline in an HTTP header.</td>
117        </tr>
118        <tr>
119<th><CODE>HTTP_ERROR_SSL</CODE></th>
120<td><CODE>23</CODE>: SSL authentication error.</td>
121        </tr>
122        <tr>
123<th><CODE>HTTP_ERROR_CERT_EXIST</CODE></th>
124<td><CODE>24</CODE>: An SSL certificate has already been set. (You must delete this before registering it again.)</td>
125        </tr>
126        <tr>
127<th><CODE>HTTP_ERROR_NO_CA_CERT_STORE</CODE></th>
128<td><CODE>25</CODE>: A CA certificate store has not been registered for SSL.</td>
129        </tr>
130        <tr>
131<th><CODE>HTTP_ERROR_NO_CLIENT_CERT</CODE></th>
132<td><CODE>26</CODE>: A client certificate has not been registered for SSL.</td>
133        </tr>
134        <tr>
135<th><CODE>HTTP_ERROR_CA_CERT_STORE_MAX</CODE></th>
136<td><CODE>27</CODE>: The maximum number of simultaneous CA certificate stores per SSL process have already been registered.</td>
137        </tr>
138        <tr>
139<th><CODE>HTTP_ERROR_CLIENT_CERT_MAX</CODE></th>
140<td><CODE>28</CODE>: The maximum number of simultaneous client certificates per SSL process have already been registered.</td>
141        </tr>
142        <tr>
143<th><CODE>HTTP_ERROR_FAIL_TO_CREATE_CERT_STORE</CODE></th>
144<td><CODE>29</CODE>: Failed to create an SSL certificate store.</td>
145        </tr>
146        <tr>
147<th><CODE>HTTP_ERROR_FAIL_TO_CREATE_CLIENT_STORE</CODE></th>
148<td><CODE>30</CODE>: Failed to create an SSL client certificate.</td>
149        </tr>
150        <tr>
151<th><CODE>HTTP_ERROR_DNS</CODE></th>
152<td><CODE>31</CODE>: Failed to resolve DNS name.</td>
153        </tr>
154        <tr>
155<th><CODE>HTTP_ERROR_SEND</CODE></th>
156<td><CODE>32</CODE>: Failed to send socket data. (Upon being disconnected from infrastructure communication, for example.)</td>
157        </tr>
158        <tr>
159<th><CODE>HTTP_ERROR_RECV</CODE></th>
160<td><CODE>33</CODE>: Failed to receive socket data. (Upon being disconnected from infrastructure communication, for example.)</td>
161        </tr>
162        <tr>
163<th><CODE>HTTP_ERROR_CONNECT</CODE></th>
164<td><CODE>34</CODE>: Failed to make a socket connection. (When a server cannot be found, for example.)</td>
165        </tr>
166        <tr>
167<th><CODE>HTTP_ERROR_GET_PROXY_SETTING</CODE></th>
168<td><CODE>35</CODE>: Failed to get proxy settings from the device information.</td>
169        </tr>
170        <tr>
171<th><CODE>HTTP_ERROR_TIMEOUT</CODE></th>
172<td><CODE>36</CODE>: HTTP communication timeout.</td>
173        </tr>
174        <tr>
175<th><CODE>HTTP_ERROR_401_UNAUTHORIZED</CODE></th>
176<td><CODE>37</CODE>: Received status code 401 Unauthorized.</td>
177        </tr>
178        <tr>
179<th><CODE>HTTP_ERROR_403_FORBIDDEN</CODE></th>
180<td><CODE>38</CODE>: Received status code 403 Forbidden.</td>
181        </tr>
182        <tr>
183<th><CODE>HTTP_ERROR_404_NOT_FOUND</CODE></th>
184<td><CODE>39</CODE>: Received status code 404 Not Found.</td>
185        </tr>
186        <tr>
187<th><CODE>HTTP_ERROR_408_REQUEST_TIMEOUT</CODE></th>
188<td><CODE>40</CODE>: Received status code 408 Request Timeout.</td>
189        </tr>
190        <tr>
191<th><CODE>HTTP_ERROR_416_REQUESTED_RANGE_NOT_SATISFABLE</CODE></th>
192<td><CODE>41</CODE>: Received status code 416 Requested Range Not Satisfiable.</td>
193        </tr>
194        <tr>
195<th><CODE>HTTP_ERROR_500_INTERNAL_SERVER_ERROR</CODE></th>
196<td><CODE>42</CODE>: Received status code 500 Internal Server Error.</td>
197        </tr>
198        <tr>
199<th><CODE>HTTP_ERROR_502_BAD_GATEWAY</CODE></th>
200<td><CODE>34</CODE>: Received status code 502 Bad Gateway.</td>
201        </tr>
202        <tr>
203<th><CODE>HTTP_ERROR_503_SERVICE_UNAVAILABLE</CODE></th>
204<td><CODE>44</CODE>: Received status code 503 Service Unavailable.</td>
205        </tr>
206        <tr>
207<th><CODE>HTTP_ERROR_504_GATEWAY_TIMEOUT</CODE></th>
208<td><CODE>45</CODE>: Received status code 504 Gateway Timeout.</td>
209        </tr>
210        <tr>
211<th><CODE>HTTP_ERROR_505_VERSION_NOT_SUPPORTED</CODE></th>
212<td><CODE>46</CODE>: Received status code 505 Version Not Supported.</td>
213        </tr>
214        <tr>
215<th><CODE>HTTP_ERROR_UNSUPPORTED_STATUS</CODE></th>
216<td><CODE>47</CODE>: Received a 1xx, 3xx, 4xx, or 5xx error other than the ones above during HTTP communication.</td>
217        </tr>
218        <tr>
219<th><CODE>SSL_ERROR_FAILED</CODE></th>
220<td><CODE>48</CODE>: Error caused by SSL protocol failure. (such as when validation of a client certificate fails on the server side).</td>
221        </tr>
222        <tr>
223<th><CODE>SSL_ERROR_WANT_READ</CODE></th>
224<td><CODE>49</CODE>: A <CODE>Read</CODE> function has not finished processing while an asynchronous socket is in use by the SSL module. (Please try again.)</td>
225        </tr>
226        <tr>
227<th><CODE>SSL_ERROR_WANT_WRITE</CODE></th>
228<td><CODE>50</CODE>: A <CODE>Write</CODE> function has not finished processing while an asynchronous socket is in use by the SSL module. (Please try again.)</td>
229        </tr>
230        <tr>
231<th><CODE>SSL_ERROR_SYSCALL</CODE></th>
232<td><CODE>51</CODE>: An unexpected error was returned by a system function used internally by the SSL module.</td>
233        </tr>
234        <tr>
235<th><CODE>SSL_ERROR_ZERO_RETURN</CODE></th>
236<td><CODE>52</CODE>: A value of zero was returned at an unexpected point during socket <CODE>read</CODE>/<CODE>write</CODE> operations within the SSL module.</td>
237        </tr>
238        <tr>
239<th><CODE>SSL_ERROR_WANT_CONNECT</CODE></th>
240<td><CODE>53</CODE>: A connection did not complete while asynchronous sockets were used in the SSL module. (Please try again.)</td>
241        </tr>
242        <tr>
243<th><CODE>SSL_ERROR_SSLID</CODE></th>
244<td><CODE>54</CODE>: An internal SSL module error. (Invalid SSLID)</td>
245        </tr>
246        <tr>
247<th><CODE>SSL_ERROR_VERIFY_CERT</CODE></th>
248<td><CODE>55</CODE>: Server authentication error. Failed to validate a server certificate.</td>
249        </tr>
250        <tr>
251<th><CODE>SSL_ERROR_VERIFY_COMMON_NAME</CODE></th>
252<td><CODE>56</CODE>: Server authentication error. The server certificate's <CODE>CommonName</CODE> does not match the host name of the destination server specified by the <CODE>AssignServer</CODE> function.</td>
253        </tr>
254        <tr>
255<th><CODE>SSL_ERROR_VERIFY_ROOT_CA</CODE></th>
256<td><CODE>57</CODE>: Server authentication error. The server certificate's Root CA certificate does not match the certificate set by <CODE>Connection</CODE>.</td>
257        </tr>
258        <tr>
259<th><CODE>SSL_ERROR_VERIFY_CHAIN</CODE></th>
260<td><CODE>58</CODE>: Server authentication error. The server certificate's certificate chain is invalid.</td>
261        </tr>
262        <tr>
263<th><CODE>SSL_ERROR_VERIFY_DATE</CODE></th>
264<td><CODE>59</CODE>: Server authentication error. The server certificate has expired.</td>
265        </tr>
266        <tr>
267<th><CODE>SSL_ERROR_GET_SERVER_CERT</CODE></th>
268<td><CODE>60</CODE>: Failed to save to the buffer for certificate data. (This occurs when the buffer is smaller than the certificate size given to the <CODE>DoHandshake</CODE> function with arguments.)</td>
269        </tr>
270        <tr>
271<th><CODE>SSL_ERROR_VERIFY_REVOKED_CERT</CODE></th>
272<td><CODE>61</CODE>: Server authentication error. The server certificate was found to be registered on the revocation list.</td>
273        </tr>
274        <tr>
275<th><CODE>SSL_ERROR_OUT_OF_MEMORY</CODE></th>
276<td><CODE>62</CODE>: The SSL module failed to get memory dynamically.</td>
277        </tr>
278        <tr>
279<th><CODE>SSL_ERROR_SESSION</CODE></th>
280<td><CODE>63</CODE>: Invalid IPC session in the SSL module.</td>
281        </tr>
282        <tr>
283<th><CODE>SSL_ERROR_FAIL_TO_CREATE_CERT_STROE</CODE></th>
284<td><CODE>64</CODE>: Failed to create a certificate store.</td>
285        </tr>
286        <tr>
287<th><CODE>SSL_ERROR_FAIL_TO_CREATE_CRL_STORE</CODE></th>
288<td><CODE>65</CODE>: Failed to create a CRL store.</td>
289        </tr>
290        <tr>
291<th><CODE>SSL_ERROR_FAIL_TO_CREATE_CLIENT_CERT</CODE></th>
292<td><CODE>66</CODE>: Failed to create a client certificate.</td>
293        </tr>
294        <tr>
295<th><CODE>SSL_ERROR_CLIENT_PROCESS_MAX</CODE></th>
296<td><CODE>67</CODE>: The maximum number of simultaneous client processes are already in use.</td>
297        </tr>
298        <tr>
299<th><CODE>SSL_ERROR_IPC_SESSION</CODE></th>
300<td><CODE>68</CODE>: The maximum number of simultaneous IPC sessions are already connected.</td>
301        </tr>
302        <tr>
303<th><CODE>SSL_ERROR_INTERNAL_CERT</CODE></th>
304<td><CODE>69</CODE>: Failed to use a built-in certificate.</td>
305        </tr>
306        <tr>
307<th><CODE>SSL_ERROR_INTERNAL_CRL</CODE></th>
308<td><CODE>70</CODE>: Failed to use a built-in CRL.</td>
309        </tr>
310        <tr>
311<th><CODE>FS_ERROR_INVALID_POSITION_BASE</CODE></th>
312<td><CODE>71</CODE>: A file system-related error occurred.</td>
313        </tr>
314        <tr>
315<th><CODE>FS_ERROR_ARCHIVE_NOT_FOUND</CODE></th>
316<td><CODE>72</CODE>: A file system-related error occurred.</td>
317        </tr>
318        <tr>
319<th><CODE>FS_ERROR_FAILED_OPEN_FILE</CODE></th>
320<td><CODE>73</CODE>: A file system-related error occurred.</td>
321        </tr>
322        <tr>
323<th><CODE>FS_ERROR_UNSUPPORTED_OPERATION</CODE></th>
324<td><CODE>74</CODE>: A file system-related error occurred.</td>
325        </tr>
326        <tr>
327<th><CODE>FS_ERROR_INVALID_PATH_FORMAT</CODE></th>
328<td><CODE>75</CODE>: A file system-related error occurred.</td>
329        </tr>
330        <tr>
331<th><CODE>FS_ERROR_ACCESS_DENIED</CODE></th>
332<td><CODE>76</CODE>: A file system-related error occurred.</td>
333        </tr>
334        <tr>
335<th><CODE>FS_ERROR_LIBRARY_NOT_INITIALIZED</CODE></th>
336<td><CODE>77</CODE>: A file system-related error occurred.</td>
337        </tr>
338        <tr>
339<th><CODE>FS_ERROR_INVALID_POSITION</CODE></th>
340<td><CODE>78</CODE>: A file system-related error occurred.</td>
341        </tr>
342        <tr>
343<th><CODE>FS_ERROR_TOO_LONG_PATH</CODE></th>
344<td><CODE>79</CODE>: A file system-related error occurred.</td>
345        </tr>
346        <tr>
347<th><CODE>FS_ERROR_NOT_DEVELOPMENT_ID</CODE></th>
348<td><CODE>80</CODE>: A file system-related error occurred.</td>
349        </tr>
350        <tr>
351<th><CODE>FS_ERROR_HASH_MISMATCH</CODE></th>
352<td><CODE>81</CODE>: A file system-related error occurred.</td>
353        </tr>
354        <tr>
355<th><CODE>FS_ERROR_NO_SUCH_PROCESS_REGISTERED</CODE></th>
356<td><CODE>82</CODE>: A file system-related error occurred.</td>
357        </tr>
358        <tr>
359<th><CODE>FS_ERROR_INVALID_CXI_FORMAT</CODE></th>
360<td><CODE>83</CODE>: A file system-related error occurred.</td>
361        </tr>
362        <tr>
363<th><CODE>FS_ERROR_UNSUPPORTED_ALIGNMENT</CODE></th>
364<td><CODE>84</CODE>: A file system-related error occurred.</td>
365        </tr>
366        <tr>
367<th><CODE>FS_ERROR_INVALID_HANDLE</CODE></th>
368<td><CODE>85</CODE>: A file system-related error occurred.</td>
369        </tr>
370        <tr>
371<th><CODE>FS_ERROR_NOT_FOUND</CODE></th>
372<td><CODE>86</CODE>: A file system-related error occurred.</td>
373        </tr>
374        <tr>
375<th><CODE>NSA_ERROR_STORAGE_INSUFFICIENCY</CODE></th>
376<td><CODE>87</CODE>: Insufficient NSA storage region.</td>
377        </tr>
378        <tr>
379<th><CODE>NSA_ERROR_NUMBER_OF_NSD_MAX</CODE></th>
380<td><CODE>88</CODE>: The maximum number of NSD files in the NSA was exceeded.</td>
381        </tr>
382        <tr>
383<th><CODE>NSA_ERROR_VERIFY_HASH</CODE></th>
384<td><CODE>89</CODE>: An error has been detected in the NSA INFO hash.</td>
385        </tr>
386        <tr>
387<th><CODE>NSA_ERROR_VERIFY_SIGNATURE</CODE></th>
388<td><CODE>90</CODE>: An error has been detected in the NSA INFO signature.</td>
389        </tr>
390        <tr>
391<th><CODE>NSA_NSD_ERROR_VERIFY_HASH</CODE></th>
392<td><CODE>91</CODE>: An error has been detected in the NSD HEADER hash.</td>
393        </tr>
394        <tr>
395<th><CODE>NSA_NSD_ERROR_VERIFY_SIGNATURE</CODE></th>
396<td><CODE>91</CODE>: An error has been detected in the NSD HEADER signature.</td>
397        </tr>
398        <tr>
399<th><CODE>NSA_NSD_ERROR_INVALID_FORMAT</CODE></th>
400<td><CODE>93</CODE>: An error has been detected in the NSD format.</td>
401        </tr>
402        <tr>
403<th><CODE>NSA_ERROR_INVALID_FORMAT</CODE></th>
404<td><CODE>94</CODE>: An error has been detected in the NSA format.</td>
405        </tr>
406        <tr>
407<th><CODE>SEVERE_ERROR</CODE></th>
408<td><CODE>95</CODE>: An unknown error has been detected.</td>
409        </tr>
410        <tr>
411<th><CODE>UNKNOWN_ERROR</CODE></th>
412<td><CODE>96</CODE>: An error on the system side has been detected. The ID of the module where the error originated (<CODE>nnResult::Module</CODE>) is added to the value of this enumerator and the sum is returned as <CODE>TaskResultCode</CODE>.</td>
413        </tr>
414        <tr>
415<th><CODE>FS_UNKNOWN_ERROR</CODE></th>
416<td><CODE>113</CODE>: A system-side FS error was detected. By using the <a href="../../nn/boss/TaskError/GetProperty.html"><CODE>nn::boss::TaskError::GetProperty</CODE></a> function to get the value of <CODE>TASK_ERROR_CODE</CODE>, you can check the <a href="../../nn/Result/Overview.html"><CODE>nn::Result</CODE></a> value returned by the file system.</td>
417        </tr>
418        <tr>
419<th><CODE>ERROR_MAX_VALUE</CODE></th>
420<td>(This enumerator is used for internal processing. It cannot be used from the application.)</td>
421        </tr>
422      </table> </div>
423<h2>Description</h2>
424    <div class="section">
425<p>A task's exit state. You can use the <CODE>TaskGetResult</CODE> function to get these values after a task exits. (The numeric value of each enumerator is shown at the start of its description.)</p><!-- write here --></div>
426<h2>Revision History</h2>
427    <div class="section">
428      <dl class="history">
429        <dt>2010/11/10</dt>
430<dd>Initial version.<br />
431        </dd>
432      </dl>
433    </div>
434  <hr><p>CONFIDENTIAL</p></body>
435</html>