1 // Copyright (c) 2005-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".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
22 #ifndef __CALINTERIMAPIPANIC_H__
23 #define __CALINTERIMAPIPANIC_H__
26 Panics raised from CallinterimAPI
28 enum TCalInterimApiPanicCode
32 Trying to create a CCalCategory object and a wrong type is passed.
34 EInvalidCategoryParameter = 0,
37 Attempt to pass wrong type of TChangeEntryType.
39 EInvalidChangeEntryType = 1,
42 Trying to fetch an undefined TStatus/TCalStatus of an Entry.
44 EInvalidEntryStatus = 2,
47 The TType of an Entry dosen't match the standard types
49 EInvalidEntryType = 3,
52 Atttempt to create an object using NULL object of type CCalEntry.
54 EInstanceCreatedFromNullEntry = 4,
57 Passed invalid Recurrence Range.
59 EInvalidRecurrenceRangeParameter= 5,
62 Attempt to pass a NULL object of type CCalInstance.
64 ENullInstanceParameter = 6,
67 Wrong CCalEntry TType passed to API
69 EInvalidEntryTypeParameter = 7,
72 Attempt to create an invalid repeat rule.
74 ERepeatRuleBitFailure = 8,
77 Attempt to pass incorrect TCalRRule TType.
79 EInvalidRepeatRuleType = 9,
82 Trying to set a repeat rule while one has already been set.
84 ERepeatRuleTypeAlreadySet = 10,
87 Raised by the Class CCalSession's destructor if all the opened references
88 have not been closed before destruction of CCalSession object.
90 ESessionHasOpenReferences = 11,
93 The type of CCalAttachment is unknown.
95 EInvalidAttachmentType = 12,
98 The instance iterator index is corrupt.
100 EInstanceIteratorIndexCorrupt = 13