messagingfw/msgsrvnstore/server/inc/msgerr.h
changeset 0 8e480a14352b
equal deleted inserted replaced
-1:000000000000 0:8e480a14352b
       
     1 // Copyright (c) 2008-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 //
       
    15 
       
    16 #ifndef __MSGERR_H__
       
    17 #define __MSGERR_H__
       
    18 
       
    19 /*
       
    20 The search-sort query is too big to be executed. 
       
    21 This could be due to a bigger value for the search-sort option provided 
       
    22 as part of the query. The query value added to a particular option is 
       
    23 greater then KMsvMaxFindTextLength( = 300)
       
    24 @publishedPartner
       
    25 @released
       
    26 **/
       
    27 const TInt KErrQueryTooBig = -60;
       
    28 
       
    29 /*
       
    30 An addition of search-sort operation has  lead to a condition where the query 
       
    31 options have exceeded the maximum number of search-sort options supported by 
       
    32 messaging framework. The maximum search options that can be added to a 
       
    33 search-sort query is 'five' and the maximum sort option that can be can be added is 'one'
       
    34 @publishedPartner
       
    35 @released
       
    36 **/
       
    37 const TInt KErrMsvQueryMaxLimit = -61;
       
    38 
       
    39 /*
       
    40 If the result type requested during execution of query was set to TMsvId, 
       
    41 but the messaging client is trying to receive TMsvEntry objects 
       
    42 @publishedPartner
       
    43 @released
       
    44 **/
       
    45 const TInt KErrMsvInvalidResultRequest = -62;
       
    46 
       
    47 /*
       
    48 An invalid operation is being performed on a particular message part.
       
    49 example: TMsvMessagePart is EMsvBcc and TMsvRelationOp is EMsvLessThanOrEqual
       
    50 @publishedPartner
       
    51 @released
       
    52 **/ 
       
    53 const TInt KErrMsvInvalidOperator = -63;
       
    54 
       
    55 
       
    56 #endif // __MSGERR_H__