|
API Guide Home (Online version only) |
![]() |
00001 /****************************************************************************** 00002 * Copyright (c) 2004 palmOne, Inc. or its subsidiaries. 00003 * All rights reserved. 00004 *****************************************************************************/ 00005 /** 00006 * @ingroup NETPREF 00007 */ 00008 00009 /** 00010 * @file NetPrefLibErrors.h 00011 * @version 1.0 00012 * @date 12/12/2001 00013 * 00014 * @brief This is the error declarations file for the NetPref Library. 00015 * 00016 */ 00017 00018 /* 00019 * @author vmk 00020 * 00021 * <hr> 00022 */ 00023 00024 00025 #ifndef _NET_PREF_LIB_ERRORS_H_ 00026 #define _NET_PREF_LIB_ERRORS_H_ 00027 00028 #include <Common/HsCommon.h> // <HsErrorClasses.h> 00029 00030 //#include "OSServices.h" // for osSvcErrClassApp 00031 00032 00033 /** hsNetMasterErrorClass is defined in HsErrorClasses.h */ 00034 #define netPrefErrClass (hsNetPrefLibErrorClass) // 0x7200 00035 00036 00037 #define netPrefErrMemory (netPrefErrClass + 0x01) /**< runtime memory error */ 00038 #define netPrefErrStorage (netPrefErrClass + 0x02) /**< storage memory error */ 00039 #define netPrefErrBadArg (netPrefErrClass + 0x03) /**< invalid argument, unknown ID */ 00040 #define netPrefErrRecNotSaved (netPrefErrClass + 0x04) /**< cannot perform the requested 00041 * operation on the new record 00042 * until it is saved. 00043 */ 00044 #define netPrefErrRecGone (netPrefErrClass + 0x05) /**< record could not be found */ 00045 #define netPrefErrCCSMIncomplete (netPrefErrClass + 0x06) /**< missing or incomplete CCSM table */ 00046 #define netPrefErrCSDNotAllowed (netPrefErrClass + 0x07) /**< CSD is not allowed */ 00047 #define netPrefErrNoCCSMSettings (netPrefErrClass + 0x08) /**< settings were not found in the CCSM Carrier Settings DB */ 00048 #define netPrefErrNVSync (netPrefErrClass + 0x09) /**< Error synchronizing settings with 00049 * the radio's NV storage 00050 */ 00051 #define netPrefErrNVRead (netPrefErrClass + 0x0A) /**< Error reading setting from 00052 * the radio's NV storage 00053 */ 00054 #define netPrefErrCCSMNoCarrierMatch (netPrefErrClass + 0x0B) /**< No matching entry in the CCSM Carrier List DB */ 00055 #define netPrefErrRadioIsOff (netPrefErrClass + 0x0C) /**< Operation failed because the 00056 * radio (wireless mode) is off. 00057 */ 00058 #define netPrefErrPhoneLibOpenFailed (netPrefErrClass + 0x0D)/**< Error while opening PhoneLib */ 00059 00060 #define netPrefErrNVWrite (netPrefErrClass + 0x0E) /**< Error writing setting to 00061 * the radio's NV storage 00062 */ 00063 #define netPrefErrReadOnlyField (netPrefErrClass + 0x0F) /**< Attempting to modify the data of 00064 * a read-only field. 00065 */ 00066 #define netPrefErrFieldNotInSet (netPrefErrClass + 0x10) /**< Attempting to modify a field that 00067 * is not in the record's set. 00068 */ 00069 #define netPrefErrNVWritePDPInUse (netPrefErrClass + 0x11) /**< Couldn't save data to PDP in radio's 00070 * NV because the PDP is in use (logged 00071 * in most likely). 00072 */ 00073 00074 #endif // _NET_PREF_LIB_ERRORS_H_
| Top | Palm Developer Network © 2004-2008, Palm, Inc. All rights reserved. Generated on Fri Jun 13 10:06:54 2008 for Palm API Guide |