diff -r e1b950c65cb4 -r 837f303aceeb epoc32/include/xml/xmlframeworkerrors.h --- a/epoc32/include/xml/xmlframeworkerrors.h Wed Mar 31 12:27:01 2010 +0100 +++ b/epoc32/include/xml/xmlframeworkerrors.h Wed Mar 31 12:33:34 2010 +0100 @@ -1,9 +1,9 @@ // Copyright (c) 2003-2009 Nokia Corporation and/or its subsidiary(-ies). // All rights reserved. // This component and the accompanying materials are made available -// 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 +// under the terms of "Eclipse Public License v1.0" // which accompanies this distribution, and is available -// at the URL "http://www.symbianfoundation.org/legal/licencesv10.html". +// at the URL "http://www.eclipse.org/legal/epl-v10.html". // // Initial Contributors: // Nokia Corporation - initial contribution. @@ -68,61 +68,15 @@ This error can be returned only if the request is to leave in such a case - LeaveOnMany flag is set. */ const TInt KErrXmlMoreThanOneParserMatched = -17567; - +const TInt KErrXmlStringTooBig = -17568; const TInt KErrXmlFirst = -17550; const TInt KErrXmlLast = -17599; -// Panic Codes -/** -Indicates various Panic error conditions within the framework. - -@internalTechnology -*/ -enum TXmlFrameworkPanic - { - /** - Indicates that a leave code other than that expected was received. - */ - EXmlFrameworkPanicUnexpectedLeaveCode = 0, - - /** - Indicates that a state other than that expected was reached. - */ - EXmlFrameworkPanicUnexpectedState = 1, - - /** - Indicates that logic other than that expected was reached. - */ - EXmlFrameworkPanicUnexpectedLogic = 2, - - /** - Indicates that internal document positioning has gone beyond EOF and has failed. - */ - EXmlFrameworkPanicPositionMisallignment = 3, - - /** - Indicates that a reference count has reached a negative value. - */ - EXmlFrameworkPanicReferenceCountNegative = 4, - - /** - Pointer is null, cannot dereference. - */ - EXmlFrameworkPanicNullPointer = 5, - - }; - -/** -This method panics the thread - -@param aError The reason for the panic -@internalTechnology -*/ -void Panic(TXmlFrameworkPanic aError); } + #endif // __XMLFRAMEWORKERRORS_H__