|
1 // Copyright (c) 1998-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 // Defines for the specific error codes returned from WAP Access Point parser |
|
15 // |
|
16 // |
|
17 |
|
18 |
|
19 |
|
20 #if !defined (__WAPPERR_H__) |
|
21 #define __WAPPERR_H__ |
|
22 |
|
23 |
|
24 // public error codes that the parser may generate in addition to EPOC32 error codes. |
|
25 #define KWappBaseError (-600) |
|
26 #define KWappErrXMLVersion (KWappBaseError-1) |
|
27 #define KWappErrOutsideBoundaries (KWappBaseError-2) // index in exceeds boundaries |
|
28 #define KWappErrStringTable (KWappBaseError-3) // Bad String table reference |
|
29 #define KWappErrEOS (KWappBaseError-4) // Reached the end of a key descriptor |
|
30 #define KWappErrUnexpectedValue (KWappBaseError-5) // Expecting a different tag, or content/attributes |
|
31 #define KWappErrNoAttributes (KWappBaseError-6) // Expecting attributes- missing |
|
32 #define KWappErrMandatoryTagMissing (KWappBaseError-7) // Search for a mandatory tag failed |
|
33 #define KWappErrStoreNotFound (KWappBaseError-8) // No store attached to this entry |
|
34 #define KWappErrMsgUnparsed (KWappBaseError-9) // Trying to process a message which is unparsed |
|
35 #define KWappErrUnrecognised (KWappBaseError-10) // Token or string is not a recognised value |
|
36 #define KWappErrNullValue (KWappBaseError-11) // Variable is null or has not been intialised |
|
37 #define KWappErrContent (KWappBaseError-12) // Empty element, particularly a problem if it's an empty characteristic- has no PARMS |
|
38 #define KWappErrNoDBRecords (KWappBaseError-13) // Could not find a first record in the COMMDB |
|
39 #define KWappErrNotSupported (KWappBaseError-14) // Not Supported - WAPP specific |
|
40 #define KWappErrBadMessage (KWappBaseError-15) // Data content/format of message is invalid |
|
41 #define KWappErrNoTermination (KWappBaseError-16) // Terminating byte missing from string or data element |
|
42 |
|
43 #endif // __WAPPERR_H__ |