2 * Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
4 * This component and the accompanying materials are made available
5 * under the terms of the License "Eclipse Public License v1.0"
6 * which accompanies this distribution, and is available
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
9 * Initial Contributors:
10 * Nokia Corporation - initial contribution.
15 * Error defined by the User Prompt Service.
16 * System servers MUST interpret any error returned by the User Prompt Service as EDecNo
17 * and deny the client applications request.
34 /// A fingerprint was either empty or exceeded KUpsMaxFingerprintLength bytes.
35 const TInt KErrUpsBadFingerprintLength = -5703;
37 /// The policy evaluator ECOM plug-in specified in the policy file was not found.
38 const TInt KErrUpsMissingPolicyEvaluator = -5704;
40 /// The dialog creator ECOM plug-in specified in the policy file was not found.
41 const TInt KErrUpsMissingDialogCreator = -5705;
43 /// An error occured whilst parsing a policy file.
44 const TInt KErrUpsBadPolicyFile = -5706;
46 /// No policy file was found for the requested server secure id and service uid
47 const TInt KErrUpsMissingPolicyFile = -5707;
49 /// A file in the policy directory did not conform to the policy file name format
50 /// - ups_SystemServerSid_ServiceUid.rsc
51 const TInt KErrUpsInvalidPolicyFileName = -5708;
53 //One of the required arguments was not found
54 const TInt KErrUpsMissingArgument = -5709;
56 //The client entity was exceeded the maximum allowed length
57 const TInt KErrUpsBadClientEntityLength = -5710;
59 //The client thread ID is invalid (either bad, or has since terminated)
60 const TInt KErrUpsBadClientThreadId = -5711;
62 //The client process ID is invalid (either bad, or has since terminated)
63 const TInt KErrUpsBadClientProcessId = -5712;
65 /// UPS policy library panic category
66 _LIT(KUpsPoliciesPanicCat, "UPS-Policies");
67 /// UPS policy library panic codes
68 enum TUpsPoliciesPanicCat
70 /// A corrupt policy file on the Z drive was encountered
71 EUpsPoliciesCorruptRomPolicy = 0
74 /// UPS client library panic category
75 _LIT(KUpsClientPanicCat, "UPS-Client");
76 /// UPS policy library panic codes
77 enum TUpsClientPanicCat
79 /// RUpsSubsession has not been initialised
80 EUpsClientNotInitialised = 0