org.symbian.tools.wrttools.doc.WebDeveloper/html/GUID-DEA4164E-5F03-4B57-97B9-4C6238481F89.html
changeset 229 716254ccbcc0
equal deleted inserted replaced
228:913c9751c067 229:716254ccbcc0
       
     1 
       
     2 <!DOCTYPE html
       
     3   PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
       
     4 <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"/><meta name="copyright" content="(C) Copyright 2009"/><meta name="DC.rights.owner" content="(C) Copyright 2009"/><meta name="DC.Type" content="mobileconcept"/><meta name="DC.Title" content="Location Service API error messages"/><meta name="DC.Relation" scheme="URI" content="GUID-620340F8-F844-445E-80AA-71C757320B7E"/><meta name="DC.Relation" scheme="URI" content="GUID-7A466B60-88DD-4A3A-B64C-E7300D42DA56"/><meta name="DC.Relation" scheme="URI" content="GUID-7C69DDA4-16F1-4A8F-BDB2-4CB0015B4E81"/><meta name="DC.Relation" scheme="URI" content="GUID-65AAF569-D347-462B-B59A-9D7CA184AB9C"/><meta name="DC.Relation" scheme="URI" content="GUID-53CE4DE6-F065-4339-8C18-5C30A9540053"/><meta name="DC.Format" content="XHTML"/><meta name="DC.Identifier" content="GUID-DEA4164E-5F03-4B57-97B9-4C6238481F89"/><title>Location Service API error messages </title><script type="text/javascript">
       
     5       function initPage() {}
       
     6     </script><link href="../PRODUCT_PLUGIN/book.css" rel="stylesheet" type="text/css"/><link href="css/s60/style.css" rel="stylesheet" type="text/css" media="all"/></head><body onload="initPage();"><div class="body"><div class="contentLeft prTxt"><h1 class="pageHeading" id="GUID-DEA4164E-5F03-4B57-97B9-4C6238481F89">Location Service API error messages</h1><div>
       
     7 <p>This section provides information about the error messages returned
       
     8 by the Location Service API methods.</p>
       
     9 <p/>
       
    10 <div><h3>GetLocation</h3>
       
    11 <p>The following table describes the error messages returned by <a href="GUID-150E440F-56E4-4249-8739-A5A7A2050600.html#GUID-150E440F-56E4-4249-8739-A5A7A2050600"><code>GetLocation</code></a> and <a href="GUID-C7C3B541-8D28-4DC6-9003-ECF57F26C608.html#GUID-C7C3B541-8D28-4DC6-9003-ECF57F26C608"><code>callback</code></a> for <code>GetLocation</code> as
       
    12 part of their return value.</p>
       
    13 <div class="tablenoborder"><a name="GUID-912B708B-90FA-4829-9472-B7F3D6383C65"><!----></a><table cellpadding="4" cellspacing="0" summary="" id="GUID-912B708B-90FA-4829-9472-B7F3D6383C65" frame="border" border="1" rules="all"><caption><strong>Table: </strong>GetLocation error
       
    14 messages</caption>
       
    15 <thead align="left">
       
    16 <tr class="title "><th class="cellrowborder" valign="top" id="d0e50142">
       
    17 <p>Error message</p>
       
    18 </th><th class="cellrowborder" valign="top" id="d0e50147">
       
    19 <p>Description</p>
       
    20 </th></tr>
       
    21 </thead>
       
    22 <tbody>
       
    23 <tr class="">
       
    24 <td class="cellrowborder" valign="top" headers="d0e50142 ">
       
    25 <p><code>Location : GetLocation : Wrong category info should be BasicLocationInformation/GenericLocationInfo</code></p>
       
    26 </td>
       
    27 <td class="cellrowborder" valign="top" headers="d0e50147 ">
       
    28 <p>The <code>LocationInformationClass</code> property contains
       
    29 an invalid value.</p>
       
    30 </td>
       
    31 </tr>
       
    32 <tr class="bg ">
       
    33 <td class="cellrowborder" valign="top" headers="d0e50142 ">
       
    34 <p><code>Location : GetLocation : BadArgument - Updateoptions</code></p>
       
    35 </td>
       
    36 <td class="cellrowborder" valign="top" headers="d0e50147 ">
       
    37 <p>An <code>Updateoptions</code> property has an invalid name.</p>
       
    38 </td>
       
    39 </tr>
       
    40 <tr class="">
       
    41 <td class="cellrowborder" valign="top" headers="d0e50142 ">
       
    42 <p><code>Location : GetLocation : Negative Time Interval</code></p>
       
    43 </td>
       
    44 <td class="cellrowborder" valign="top" headers="d0e50147 ">
       
    45 <p>The <code>Updateoptions.UpdateInterval</code> property is negative.</p>
       
    46 </td>
       
    47 </tr>
       
    48 <tr class="bg ">
       
    49 <td class="cellrowborder" valign="top" headers="d0e50142 ">
       
    50 <p><code>Location : GetLocation : Updateoptions Type Mismatch</code></p>
       
    51 </td>
       
    52 <td class="cellrowborder" valign="top" headers="d0e50147 ">
       
    53 <p>An <code>Updateoptions</code> property contains a value with
       
    54 an invalid type.</p>
       
    55 </td>
       
    56 </tr>
       
    57 </tbody>
       
    58 </table></div></div>
       
    59 <div><h3>Trace</h3>
       
    60 <p>The following table describes the error messages returned by <a href="GUID-7A0190CB-545E-48D2-BAF0-D28E03CDFCA5.html#GUID-7A0190CB-545E-48D2-BAF0-D28E03CDFCA5"><code>Trace</code></a> and <a href="GUID-C7C3B541-8D28-4DC6-9003-ECF57F26C608.html#GUID-C7C3B541-8D28-4DC6-9003-ECF57F26C608"><code>callback</code></a> for <code>Trace</code> as
       
    61 part of their return value.</p>
       
    62 <div class="tablenoborder"><a name="GUID-44216F66-C9C4-45C7-8E5B-B8BE874FF0FC"><!----></a><table cellpadding="4" cellspacing="0" summary="" id="GUID-44216F66-C9C4-45C7-8E5B-B8BE874FF0FC" frame="border" border="1" rules="all"><caption><strong>Table: </strong>Trace error messages</caption>
       
    63 <thead align="left">
       
    64 <tr class="title "><th class="cellrowborder" valign="top" id="d0e50264">
       
    65 <p>Error message</p>
       
    66 </th><th class="cellrowborder" valign="top" id="d0e50269">
       
    67 <p>Description</p>
       
    68 </th></tr>
       
    69 </thead>
       
    70 <tbody>
       
    71 <tr class="">
       
    72 <td class="cellrowborder" valign="top" headers="d0e50264 ">
       
    73 <p><code>Location : Trace : Invalid LocationInformationClass</code></p>
       
    74 </td>
       
    75 <td class="cellrowborder" valign="top" headers="d0e50269 ">
       
    76 <p>The <code>LocationInformationClass</code> property contains
       
    77 an invalid value.</p>
       
    78 </td>
       
    79 </tr>
       
    80 <tr class="bg ">
       
    81 <td class="cellrowborder" valign="top" headers="d0e50264 ">
       
    82 <p><code>Location : Trace : BadArgument - Updateoptions</code></p>
       
    83 </td>
       
    84 <td class="cellrowborder" valign="top" headers="d0e50269 ">
       
    85 <p>An <code>Updateoptions</code> property has an invalid name.</p>
       
    86 </td>
       
    87 </tr>
       
    88 <tr class="">
       
    89 <td class="cellrowborder" valign="top" headers="d0e50264 ">
       
    90 <p><code>Location : Trace : Negative Time Interval</code></p>
       
    91 </td>
       
    92 <td class="cellrowborder" valign="top" headers="d0e50269 ">
       
    93 <p>The <code>Updateoptions.UpdateInterval</code> property is negative.</p>
       
    94 </td>
       
    95 </tr>
       
    96 <tr class="bg ">
       
    97 <td class="cellrowborder" valign="top" headers="d0e50264 ">
       
    98 <p><code>Location : Trace : Updateoptions Type Mismatch</code></p>
       
    99 </td>
       
   100 <td class="cellrowborder" valign="top" headers="d0e50269 ">
       
   101 <p>An <code>Updateoptions</code> property contains a value with
       
   102 an invalid type.</p>
       
   103 </td>
       
   104 </tr>
       
   105 </tbody>
       
   106 </table></div></div>
       
   107 <div><h3>Calculate</h3>
       
   108 <p>The following table describes the error messages returned by <a href="GUID-DBEE8177-7246-4FEE-A0F1-D6AEEA6EA206.html#GUID-DBEE8177-7246-4FEE-A0F1-D6AEEA6EA206"><code>Calculate</code></a> as part of its return value.</p>
       
   109 <div class="tablenoborder"><a name="GUID-1D0892CD-CA46-4BC9-B947-2C871AAEF0E5"><!----></a><table cellpadding="4" cellspacing="0" summary="" id="GUID-1D0892CD-CA46-4BC9-B947-2C871AAEF0E5" frame="border" border="1" rules="all"><caption><strong>Table: </strong>Calculate error
       
   110 messages</caption>
       
   111 <thead align="left">
       
   112 <tr class="title "><th class="cellrowborder" valign="top" id="d0e50379">
       
   113 <p>Error message</p>
       
   114 </th><th class="cellrowborder" valign="top" id="d0e50384">
       
   115 <p>Description</p>
       
   116 </th></tr>
       
   117 </thead>
       
   118 <tbody>
       
   119 <tr class="">
       
   120 <td class="cellrowborder" valign="top" headers="d0e50379 ">
       
   121 <p><code>Location : Calculate : Missing argument - MathRequest</code></p>
       
   122 </td>
       
   123 <td class="cellrowborder" valign="top" headers="d0e50384 ">
       
   124 <p>The <code>MathRequest</code> property is missing from the input.</p>
       
   125 </td>
       
   126 </tr>
       
   127 <tr class="bg ">
       
   128 <td class="cellrowborder" valign="top" headers="d0e50379 ">
       
   129 <p><code>Location : Calculate : Wrong argument - MathRequest</code></p>
       
   130 </td>
       
   131 <td class="cellrowborder" valign="top" headers="d0e50384 ">
       
   132 <p>The <code>MathRequest</code> property contains an invalid value.</p>
       
   133 </td>
       
   134 </tr>
       
   135 <tr class="">
       
   136 <td class="cellrowborder" valign="top" headers="d0e50379 ">
       
   137 <p><code>Location : Calculate : Missing argument - locationcoordinate</code></p>
       
   138 </td>
       
   139 <td class="cellrowborder" valign="top" headers="d0e50384 ">
       
   140 <p>Location coordinates are missing from the input.</p>
       
   141 </td>
       
   142 </tr>
       
   143 <tr class="bg ">
       
   144 <td class="cellrowborder" valign="top" headers="d0e50379 ">
       
   145 <p><code>Location : Calculate : Missing argument - MoveByThisDistance</code></p>
       
   146 </td>
       
   147 <td class="cellrowborder" valign="top" headers="d0e50384 ">
       
   148 <p>The <code>MoveByThisDistance</code> property is missing from
       
   149 the input.</p>
       
   150 </td>
       
   151 </tr>
       
   152 <tr class="">
       
   153 <td class="cellrowborder" valign="top" headers="d0e50379 ">
       
   154 <p><code>Location : Calculate : Missing argument - MoveByThisBearing</code></p>
       
   155 </td>
       
   156 <td class="cellrowborder" valign="top" headers="d0e50384 ">
       
   157 <p>The <code>MoveByThisBearing</code> property is missing from
       
   158 the input.</p>
       
   159 </td>
       
   160 </tr>
       
   161 <tr class="bg ">
       
   162 <td class="cellrowborder" valign="top" headers="d0e50379 ">
       
   163 <p><code>Location : Calculate : TypeMismatch - MoveByThisDistance</code></p>
       
   164 </td>
       
   165 <td class="cellrowborder" valign="top" headers="d0e50384 ">
       
   166 <p>The <code>MoveByThisDistance</code> property contains a value
       
   167 with an invalid type.</p>
       
   168 </td>
       
   169 </tr>
       
   170 <tr class="">
       
   171 <td class="cellrowborder" valign="top" headers="d0e50379 ">
       
   172 <p><code>Location : Calculate : TypeMismatch - MoveByThisBearing</code></p>
       
   173 </td>
       
   174 <td class="cellrowborder" valign="top" headers="d0e50384 ">
       
   175 <p>The <code>MoveByThisBearing</code> property contains a value
       
   176 with an invalid type.</p>
       
   177 </td>
       
   178 </tr>
       
   179 </tbody>
       
   180 </table></div></div>
       
   181 <div><h3>CancelNotification</h3>
       
   182 <p>The following table describes the error messages returned by <a href="GUID-7A466B60-88DD-4A3A-B64C-E7300D42DA56.html#GUID-7A466B60-88DD-4A3A-B64C-E7300D42DA56"><code>CancelNotification</code></a> as part of its return value.</p>
       
   183 <div class="tablenoborder"><a name="GUID-72503C54-A2CC-4B91-85EA-208106D3E323"><!----></a><table cellpadding="4" cellspacing="0" summary="" id="GUID-72503C54-A2CC-4B91-85EA-208106D3E323" frame="border" border="1" rules="all"><caption><strong>Table: </strong>CancelNotification
       
   184 error messages</caption>
       
   185 <thead align="left">
       
   186 <tr class="title "><th class="cellrowborder" valign="top" id="d0e50548">
       
   187 <p>Error message</p>
       
   188 </th><th class="cellrowborder" valign="top" id="d0e50553">
       
   189 <p>Description</p>
       
   190 </th></tr>
       
   191 </thead>
       
   192 <tbody>
       
   193 <tr class="">
       
   194 <td class="cellrowborder" valign="top" headers="d0e50548 ">
       
   195 <p><code>Location : Cancel : BadArgument – cancel type</code></p>
       
   196 </td>
       
   197 <td class="cellrowborder" valign="top" headers="d0e50553 ">
       
   198 <p>The cancel type property in the input has an invalid name. The expected
       
   199 name is <code>CancelRequestType</code>.</p>
       
   200 </td>
       
   201 </tr>
       
   202 <tr class="bg ">
       
   203 <td class="cellrowborder" valign="top" headers="d0e50548 ">
       
   204 <p><code>Location : Cancel : Missing cancel type</code></p>
       
   205 </td>
       
   206 <td class="cellrowborder" valign="top" headers="d0e50553 ">
       
   207 <p>The <code>CancelRequestType</code> property is missing from
       
   208 the input.</p>
       
   209 </td>
       
   210 </tr>
       
   211 <tr class="">
       
   212 <td class="cellrowborder" valign="top" headers="d0e50548 ">
       
   213 <p><code>Location : Cancel : Wrong cancel type</code></p>
       
   214 </td>
       
   215 <td class="cellrowborder" valign="top" headers="d0e50553 ">
       
   216 <p>The <code>CancelRequestType</code> property contains an invalid
       
   217 value.</p>
       
   218 </td>
       
   219 </tr>
       
   220 </tbody>
       
   221 </table></div></div>
       
   222 </div></div></div><div class="footer"><hr/><div class="copy">© Nokia 2009.</div></div></body></html>