epoc32/include/xml/wbxmlparsererrors.h
author William Roberts <williamr@symbian.org>
Wed, 31 Mar 2010 12:27:01 +0100
branchSymbian2
changeset 3 e1b950c65cb4
permissions -rw-r--r--
Attempt to represent the S^2->S^3 header reorganisation as a series of "hg rename" operations
     1 // Copyright (c) 2003-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 the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
     5 // which accompanies this distribution, and is available
     6 // at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
     7 //
     8 // Initial Contributors:
     9 // Nokia Corporation - initial contribution.
    10 //
    11 // Contributors:
    12 //
    13 // Description:
    14 //
    15 
    16 #ifndef __WBXMLPARSERERRORS_H__
    17 #define __WBXMLPARSERERRORS_H__
    18 
    19 /**
    20 @file
    21 
    22 This file contains WBXML Parser panic errors and the Panic function
    23 
    24 @internalTechnology
    25 */
    26 
    27 #include <e32base.h>
    28 
    29 enum TWbxmlParserError
    30 	{
    31 	/**
    32 	Indicates that a leave code other than that expected was received.
    33 	*/
    34 	EWbxmlParserErrorUnexpectedLeaveCode		= 7000,
    35 
    36 	/**
    37 	Indicates that a state other than that expected was reached.
    38 	*/
    39 	EWbxmlParserErrorUnexpectedState			= 7001,
    40 
    41 	/**
    42 	Indicates that logic other than that expected was reached.
    43 	*/
    44 	EWbxmlParserErrorUnexpectedLogic			= 7002,
    45 
    46 	};
    47 
    48 
    49 void Panic(TWbxmlParserError aError);
    50 
    51 
    52 #endif // __WBXMLPARSERERRORS_H__