org.symbian.tools.wrttools.doc.WebDeveloper/html/GUID-46FAFCDA-BCF3-41CB-B154-C17BBF7CD755.html
author Eugene Ostroukhov <eugeneo@symbian.org>
Fri, 04 Jun 2010 09:44:40 -0700
changeset 345 7723a46fe224
parent 229 716254ccbcc0
permissions -rw-r--r--
Bug 2480 - Excluded resources are still available in preview and debugger


<!DOCTYPE html
  PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<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="Sensor Service API error messages"/><meta name="DC.Relation" scheme="URI" content="GUID-350F3C29-923E-4C30-8B14-C3D594BB8E39"/><meta name="DC.Relation" scheme="URI" content="GUID-FEB5D463-F6A1-44D9-9456-D95DE4BAED77"/><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-B77C2006-879F-4AC6-B7BF-04B25B563A29"/><meta name="DC.Format" content="XHTML"/><meta name="DC.Identifier" content="GUID-46FAFCDA-BCF3-41CB-B154-C17BBF7CD755"/><title>Sensor Service API error messages </title><script type="text/javascript">
      function initPage() {}
    </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-46FAFCDA-BCF3-41CB-B154-C17BBF7CD755">Sensor Service API error messages</h1><div>
<p>This section provides information about the error messages returned
by the Sensor Service API methods.</p>
<div><h3>Generic error messages</h3>
<p>The following table describes the error messages returned during the
loading of the service provider.</p>
<div class="tablenoborder"><a name="GUID-DB120506-E04C-4A44-9A3E-AAB235403C77"><!----></a><table cellpadding="4" cellspacing="0" summary="" id="GUID-DB120506-E04C-4A44-9A3E-AAB235403C77" frame="border" border="1" rules="all"><caption><strong>Table: </strong>Service provider
error messages</caption>
<thead align="left">
<tr class="title "><th class="cellrowborder" valign="top" id="d0e66335">
<p>Error message</p>
</th><th class="cellrowborder" valign="top" id="d0e66340">
<p>Description</p>
</th></tr>
</thead>
<tbody>
<tr class="">
<td class="cellrowborder" valign="top" headers="d0e66335 ">
<p><code>Sensors:Requested interface not supported by the provider</code></p>
</td>
<td class="cellrowborder" valign="top" headers="d0e66340 ">
<p>The requested interface is not supported by the service provider.</p>
</td>
</tr>
<tr class="bg ">
<td class="cellrowborder" valign="top" headers="d0e66335 ">
<p><code>Sensors:Interface name missing</code></p>
</td>
<td class="cellrowborder" valign="top" headers="d0e66340 ">
<p>The interface name is missing from the request.</p>
</td>
</tr>
</tbody>
</table></div>
<p>The following table describes the error messages returned by asynchronous
method calls.</p>
<div class="tablenoborder"><a name="GUID-76F24F3F-3C28-4F6A-A766-DA9BD004C5BE"><!----></a><table cellpadding="4" cellspacing="0" summary="" id="GUID-76F24F3F-3C28-4F6A-A766-DA9BD004C5BE" frame="border" border="1" rules="all"><caption><strong>Table: </strong>Asynchronous
call error messages</caption>
<thead align="left">
<tr class="title "><th class="cellrowborder" valign="top" id="d0e66398">
<p>Error message</p>
</th><th class="cellrowborder" valign="top" id="d0e66403">
<p>Description</p>
</th></tr>
</thead>
<tbody>
<tr class="">
<td class="cellrowborder" valign="top" headers="d0e66398 ">
<p><code>Sensors:Insufficent argument for asynchronous request</code></p>
</td>
<td class="cellrowborder" valign="top" headers="d0e66403 ">
<p>The <code>callback</code> method is missing.</p>
</td>
</tr>
</tbody>
</table></div></div>
<div><h3>FindSensorChannel</h3>
<p>The following table describes the error messages returned by <a href="GUID-46DB749E-A388-46B2-BB13-A274385CA97C.html#GUID-46DB749E-A388-46B2-BB13-A274385CA97C"><code>FindSensorChannel</code></a> as part of its return value.</p>
<div class="tablenoborder"><a name="GUID-2195BDD9-085B-4252-85CF-4A1B498F8FFE"><!----></a><table cellpadding="4" cellspacing="0" summary="" id="GUID-2195BDD9-085B-4252-85CF-4A1B498F8FFE" frame="border" border="1" rules="all"><caption><strong>Table: </strong>FindSensorChannel
error messages</caption>
<thead align="left">
<tr class="title "><th class="cellrowborder" valign="top" id="d0e66456">
<p>Error message</p>
</th><th class="cellrowborder" valign="top" id="d0e66461">
<p>Description</p>
</th></tr>
</thead>
<tbody>
<tr class="">
<td class="cellrowborder" valign="top" headers="d0e66456 ">
<p><code>Sensors:FindSensorChannel:Search Criterion Missing</code></p>
</td>
<td class="cellrowborder" valign="top" headers="d0e66461 ">
<p>The channel search criterion is missing from the input.</p>
</td>
</tr>
<tr class="bg ">
<td class="cellrowborder" valign="top" headers="d0e66456 ">
<p><code>Sensors:FindSensorChannel:Invalid Search Criterion</code></p>
</td>
<td class="cellrowborder" valign="top" headers="d0e66461 ">
<p>The channel search criterion is invalid and does not fall within the
specified range of search criterion strings.</p>
</td>
</tr>
<tr class="">
<td class="cellrowborder" valign="top" headers="d0e66456 ">
<p><code>Sensors:FindSensorChannel:Channel search param type invalid</code></p>
</td>
<td class="cellrowborder" valign="top" headers="d0e66461 ">
<p>The type of the parameter passed for the channel search criterion is
invalid.</p>
</td>
</tr>
</tbody>
</table></div></div>
<div><h3>RegisterForNotification</h3>
<p>The following table describes the error messages returned by <a href="GUID-C7C3B541-8D28-4DC6-9003-ECF57F26C608.html#GUID-C7C3B541-8D28-4DC6-9003-ECF57F26C608"><code>callback</code></a> for <a href="GUID-B4897257-F7BC-4C32-9C6C-A577FDAC5D09.html#GUID-B4897257-F7BC-4C32-9C6C-A577FDAC5D09"><code>RegisterForNotification</code></a> as
part of its return value.</p>
<div class="tablenoborder"><a name="GUID-C48AF60A-9FE7-433B-A7C6-A3C6FA011425"><!----></a><table cellpadding="4" cellspacing="0" summary="" id="GUID-C48AF60A-9FE7-433B-A7C6-A3C6FA011425" frame="border" border="1" rules="all"><caption><strong>Table: </strong>RegisterForNotification
error messages</caption>
<thead align="left">
<tr class="title "><th class="cellrowborder" valign="top" id="d0e66547">
<p>Error message</p>
</th><th class="cellrowborder" valign="top" id="d0e66552">
<p>Description</p>
</th></tr>
</thead>
<tbody>
<tr class="">
<td class="cellrowborder" valign="top" headers="d0e66547 ">
<p><code>Sensors:RegisterForNotification:Listening type missing</code></p>
</td>
<td class="cellrowborder" valign="top" headers="d0e66552 ">
<p>The <code>ListeningType</code> property is missing from the
input.</p>
</td>
</tr>
<tr class="bg ">
<td class="cellrowborder" valign="top" headers="d0e66547 ">
<p><code>Sensors:RegisterForNotification:Listening type is invalid</code></p>
</td>
<td class="cellrowborder" valign="top" headers="d0e66552 ">
<p>The <code>ListeningType</code> property contains a value with
an invalid type.</p>
</td>
</tr>
<tr class="">
<td class="cellrowborder" valign="top" headers="d0e66547 ">
<p><code>Sensors:RegisterForNotification:ChannelInfoMap missing</code></p>
</td>
<td class="cellrowborder" valign="top" headers="d0e66552 ">
<p>The <code>ChannelInfoMap</code> property is missing from the
input.</p>
</td>
</tr>
<tr class="bg ">
<td class="cellrowborder" valign="top" headers="d0e66547 ">
<p><code>Sensors:RegisterForNotification:Incomplete input param list</code></p>
</td>
<td class="cellrowborder" valign="top" headers="d0e66552 ">
<p>The input parameter list is incomplete.</p>
</td>
</tr>
<tr class="">
<td class="cellrowborder" valign="top" headers="d0e66547 ">
<p><code>Sensors:RegisterForNotification:Listening type is out of allowed
range</code></p>
</td>
<td class="cellrowborder" valign="top" headers="d0e66552 ">
<p>The value of the <code>ListeningType</code> property falls outside
the allowed range of listening types.</p>
</td>
</tr>
<tr class="bg ">
<td class="cellrowborder" valign="top" headers="d0e66547 ">
<p><code>Sensors:RegisterForNotification:Callback missing</code></p>
</td>
<td class="cellrowborder" valign="top" headers="d0e66552 ">
<p>The callback method is missing.</p>
</td>
</tr>
<tr class="">
<td class="cellrowborder" valign="top" headers="d0e66547 ">
<p><code>Sensors:RegisterForNotification:Notification is already registered
on this channel</code></p>
</td>
<td class="cellrowborder" valign="top" headers="d0e66552 ">
<p>The notification has already been registered by the same user on the
same channel.</p>
</td>
</tr>
</tbody>
</table></div></div>
<div><h3>Cancel</h3>
<p>The following table describes the error messages returned by <a href="GUID-3A306F4B-638D-4133-8575-2E269E565B7F.html#GUID-3A306F4B-638D-4133-8575-2E269E565B7F"><code>Cancel</code></a> as part of its return value.</p>
<div class="tablenoborder"><a name="GUID-B8450C66-D820-4CFC-B430-A2B403E19908"><!----></a><table cellpadding="4" cellspacing="0" summary="" id="GUID-B8450C66-D820-4CFC-B430-A2B403E19908" frame="border" border="1" rules="all"><caption><strong>Table: </strong>Cancel error
messages</caption>
<thead align="left">
<tr class="title "><th class="cellrowborder" valign="top" id="d0e66710">
<p>Error message</p>
</th><th class="cellrowborder" valign="top" id="d0e66715">
<p>Description</p>
</th></tr>
</thead>
<tbody>
<tr class="">
<td class="cellrowborder" valign="top" headers="d0e66710 ">
<p><code>Sensors:Cancel:Transaction ID missing</code></p>
</td>
<td class="cellrowborder" valign="top" headers="d0e66715 ">
<p>The <code>TransactionID</code> property is missing from the
input.</p>
</td>
</tr>
<tr class="bg ">
<td class="cellrowborder" valign="top" headers="d0e66710 ">
<p><code>Sensors:Cancel:Incorrect TransactionID</code></p>
</td>
<td class="cellrowborder" valign="top" headers="d0e66715 ">
<p>The <code>TransactionID</code> property contains an invalid
transaction ID.</p>
</td>
</tr>
</tbody>
</table></div></div>
<div><h3>GetChannelProperty</h3>
<p>The following table describes the error messages returned by <a href="GUID-C2731B38-6294-419C-B7E2-AFB918F508D4.html#GUID-C2731B38-6294-419C-B7E2-AFB918F508D4"><code>GetChannelProperty</code></a> as part of its return value.</p>
<div class="tablenoborder"><a name="GUID-B89CE2E9-9A21-477F-BF76-E65737CA743C"><!----></a><table cellpadding="4" cellspacing="0" summary="" id="GUID-B89CE2E9-9A21-477F-BF76-E65737CA743C" frame="border" border="1" rules="all"><caption><strong>Table: </strong>GetChannelProperty
error messages</caption>
<thead align="left">
<tr class="title "><th class="cellrowborder" valign="top" id="d0e66787">
<p>Error message</p>
</th><th class="cellrowborder" valign="top" id="d0e66792">
<p>Description</p>
</th></tr>
</thead>
<tbody>
<tr class="">
<td class="cellrowborder" valign="top" headers="d0e66787 ">
<p><code>Sensors:GetChannelProperty:Property id missing</code></p>
</td>
<td class="cellrowborder" valign="top" headers="d0e66792 ">
<p>The <code>PropertyId</code> property is missing from the input.</p>
</td>
</tr>
<tr class="bg ">
<td class="cellrowborder" valign="top" headers="d0e66787 ">
<p><code>Sensors:GetChannelProperty:Invalid property id</code></p>
</td>
<td class="cellrowborder" valign="top" headers="d0e66792 ">
<p>The <code>PropertyId</code> input property contains an invalid
value. The value does not fall within the allowed range of property ID strings.</p>
</td>
</tr>
<tr class="">
<td class="cellrowborder" valign="top" headers="d0e66787 ">
<p><code>Sensors:GetChannelProperty:ChannelInfoMap missing</code></p>
</td>
<td class="cellrowborder" valign="top" headers="d0e66792 ">
<p>The <code>ChannelInfoMap</code> property is missing from the
input.</p>
</td>
</tr>
<tr class="bg ">
<td class="cellrowborder" valign="top" headers="d0e66787 ">
<p><code>Sensors:GetChannelProperty:Channel property not supported</code></p>
</td>
<td class="cellrowborder" valign="top" headers="d0e66792 ">
<p>The specified channel property is not supported and hence no value is
returned.</p>
</td>
</tr>
<tr class="">
<td class="cellrowborder" valign="top" headers="d0e66787 ">
<p><code>Sensors:GetChannelProperty:Incomplete input param list</code></p>
</td>
<td class="cellrowborder" valign="top" headers="d0e66792 ">
<p>The input param list is incomplete.</p>
</td>
</tr>
</tbody>
</table></div></div>
</div></div></div><div class="footer"><hr/><div class="copy">© Nokia 2009.</div></div></body></html>