williamr@2: // Copyright (c) 2003-2009 Nokia Corporation and/or its subsidiary(-ies). williamr@2: // All rights reserved. williamr@2: // This component and the accompanying materials are made available williamr@2: // 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 williamr@2: // which accompanies this distribution, and is available williamr@2: // at the URL "http://www.symbianfoundation.org/legal/licencesv10.html". williamr@2: // williamr@2: // Initial Contributors: williamr@2: // Nokia Corporation - initial contribution. williamr@2: // williamr@2: // Contributors: williamr@2: // williamr@2: // Description: williamr@2: // williamr@2: williamr@2: #ifndef __WBXMLPARSERERRORS_H__ williamr@2: #define __WBXMLPARSERERRORS_H__ williamr@2: williamr@2: /** williamr@2: @file williamr@2: williamr@2: This file contains WBXML Parser panic errors and the Panic function williamr@2: williamr@2: @internalTechnology williamr@2: */ williamr@2: williamr@2: #include williamr@2: williamr@2: enum TWbxmlParserError williamr@2: { williamr@2: /** williamr@2: Indicates that a leave code other than that expected was received. williamr@2: */ williamr@2: EWbxmlParserErrorUnexpectedLeaveCode = 7000, williamr@2: williamr@2: /** williamr@2: Indicates that a state other than that expected was reached. williamr@2: */ williamr@2: EWbxmlParserErrorUnexpectedState = 7001, williamr@2: williamr@2: /** williamr@2: Indicates that logic other than that expected was reached. williamr@2: */ williamr@2: EWbxmlParserErrorUnexpectedLogic = 7002, williamr@2: williamr@2: }; williamr@2: williamr@2: williamr@2: void Panic(TWbxmlParserError aError); williamr@2: williamr@2: williamr@2: #endif // __WBXMLPARSERERRORS_H__