1 karl 1.10 //%2006////////////////////////////////////////////////////////////////////////
|
2 kumpf 1.1 //
|
3 karl 1.5 // Copyright (c) 2000, 2001, 2002 BMC Software; Hewlett-Packard Development
4 // Company, L.P.; IBM Corp.; The Open Group; Tivoli Systems.
5 // Copyright (c) 2003 BMC Software; Hewlett-Packard Development Company, L.P.;
|
6 kumpf 1.1 // IBM Corp.; EMC Corporation, The Open Group.
|
7 karl 1.5 // Copyright (c) 2004 BMC Software; Hewlett-Packard Development Company, L.P.;
8 // IBM Corp.; EMC Corporation; VERITAS Software Corporation; The Open Group.
|
9 karl 1.6 // Copyright (c) 2005 Hewlett-Packard Development Company, L.P.; IBM Corp.;
10 // EMC Corporation; VERITAS Software Corporation; The Open Group.
|
11 karl 1.10 // Copyright (c) 2006 Hewlett-Packard Development Company, L.P.; IBM Corp.;
12 // EMC Corporation; Symantec Corporation; The Open Group.
|
13 kumpf 1.1 //
14 // Permission is hereby granted, free of charge, to any person obtaining a copy
15 // of this software and associated documentation files (the "Software"), to
16 // deal in the Software without restriction, including without limitation the
17 // rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
18 // sell copies of the Software, and to permit persons to whom the Software is
19 // furnished to do so, subject to the following conditions:
20 //
21 // THE ABOVE COPYRIGHT NOTICE AND THIS PERMISSION NOTICE SHALL BE INCLUDED IN
22 // ALL COPIES OR SUBSTANTIAL PORTIONS OF THE SOFTWARE. THE SOFTWARE IS PROVIDED
23 // "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT
24 // LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
25 // PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
26 // HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
27 // ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
28 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
29 //
30 //==============================================================================
31 //
32 // Author: Carol Ann Krug Graves, Hewlett-Packard Company
33 // (carolann_graves@hp.com)
34 kumpf 1.1 //
35 // Modified By:
36 //
37 //%/////////////////////////////////////////////////////////////////////////////
38
39 #ifndef Pegasus_IndicationMessageConstants_h
40 #define Pegasus_IndicationMessageConstants_h
41
42 #include <Pegasus/Common/Config.h>
43
|
44 karl 1.11 /* Normallyit is not good practice to put static constants into headers because
45 the footprint grows with each use of the header. In this case, there is only
46 one use of this header so it is actually a smaller footprint to use the header
47 file than define extern definitions. If this header is EVER used in more than
48 one cpp file, it should be modified to create a .cpp file for the definitions.
49 */
|
50 kumpf 1.1
51 PEGASUS_NAMESPACE_BEGIN
52
53 //
54 // Message substrings used in exception messages
55 //
56
57 // l10n
58
59 // some have been commented out and put directly in the code for localization
60
61 // this one is tricky because it is used in _checkRequiredProperty with the two
62 // below
63 static const char _MSG_MISSING_REQUIRED [] = "Missing required ";
64
65 static const char _MSG_KEY_PROPERTY [] = " key property";
66
67 static const char _MSG_KEY_PROPERTY_KEY [] =
68 "IndicationService.IndicationService._MSG_KEY_PROPERTY";
69
70 static const char _MSG_PROPERTY [] = " property";
71 kumpf 1.1
72 static const char _MSG_PROPERTY_KEY [] =
73 "IndicationService.IndicationService._MSG_PROPERTY";
74
75 static const char _MSG_PROPERTY_PRESENT [] = " property present, but ";
76
77 static const char _MSG_VALUE_NOT [] = " value not ";
78
79 static const char _MSG_PROPERTY_PRESENT_BUT_VALUE_NOT_KEY [] =
80 "IndicationService.IndicationService._MSG_PROPERTY_PRESENT_BUT_VALUE_NOT";
81
82 static const char _MSG_NO_PROVIDERS [] =
83 "There are no providers capable of serving the subscription";
84
85 static const char _MSG_NO_PROVIDERS_KEY [] =
86 "IndicationService.IndicationService._MSG_NO_PROVIDERS";
87
88 static const char _MSG_NOT_ACCEPTED [] =
89 "No providers accepted the subscription";
90
91 static const char _MSG_NOT_ACCEPTED_KEY [] =
92 kumpf 1.1 "IndicationService.IndicationService._MSG_NOT_ACCEPTED";
93
94 static const char _MSG_INVALID_CLASSNAME [] = "Invalid indication class name ";
95
96 static const char _MSG_IN_FROM [] = " in FROM clause of ";
97
98 static const char _MSG_INVALID_CLASSNAME_IN_FROM_PROPERTY_KEY [] =
99 "IndicationService.IndicationService._MSG_INVALID_CLASSNAME_IN_FROM_PROPERTY";
100
101 static const char _MSG_EXPIRED [] =
102 "Expired subscription may not be modified; has been deleted";
103
104 static const char _MSG_EXPIRED_KEY [] =
105 "IndicationService.IndicationService._MSG_EXPIRED";
106
107 static const char _MSG_REFERENCED [] =
108 "A Filter or Handler referenced by a subscription may not be deleted";
109
110 static const char _MSG_REFERENCED_KEY [] =
111 "IndicationService.IndicationService._MSG_REFERENCED";
112
113 kumpf 1.1 static const char _MSG_INVALID_VALUE [] = "Invalid value ";
114
115 static const char _MSG_INVALID_TYPE [] = "Invalid type ";
116
|
117 kumpf 1.2 static const char _MSG_UNSUPPORTED_VALUE [] = "Unsupported value ";
118
|
119 kumpf 1.1 static const char _MSG_FOR_PROPERTY [] = " for property ";
120
|
121 kumpf 1.3 static const char _MSG_ARRAY_OF [] = "array of ";
122
123 static const char _MSG_INVALID_TYPE_FOR_PROPERTY_KEY [] =
124 "IndicationService.IndicationService._MSG_INVALID_TYPE_FOR_PROPERTY";
125
126 static const char _MSG_INVALID_TYPE_ARRAY_OF_FOR_PROPERTY_KEY [] =
127 "IndicationService.IndicationService._MSG_INVALID_TYPE_ARRAY_OF_FOR_PROPERTY";
|
128 kumpf 1.1
129 static const char _MSG_INVALID_VALUE_FOR_PROPERTY_KEY [] =
130 "IndicationService.IndicationService._MSG_INVALID_VALUE_FOR_PROPERTY";
|
131 kumpf 1.2
132 static const char _MSG_UNSUPPORTED_VALUE_FOR_PROPERTY_KEY [] =
133 "IndicationService.IndicationService._MSG_UNSUPPORTED_VALUE_FOR_PROPERTY";
|
134 kumpf 1.1
135 static const char _MSG_CLASS_NOT_SERVED [] =
136 "The specified class is not served by the Indication Service";
137
138 static const char _MSG_CLASS_NOT_SERVED_KEY [] =
139 "IndicationService.IndicationService._MSG_CLASS_NOT_SERVED";
140
141 static const char _MSG_INVALID_INSTANCES [] =
142 "One or more invalid Subscription instances were ignored";
143
144 static const char _MSG_INVALID_INSTANCES_KEY [] =
145 "IndicationService.IndicationService.INVALID_SUBSCRIPTION_INSTANCES_IGNORED";
146
|
147 carolann.graves 1.9 static const char _MSG_INVALID_INSTANCE [] =
148 "An invalid Subscription instance was ignored: $0";
149
150 static const char _MSG_INVALID_INSTANCE_KEY [] =
151 "IndicationService.IndicationService.INVALID_SUBSCRIPTION_INSTANCE_IGNORED";
152
|
153 kumpf 1.1 static const char _MSG_PROVIDER_NO_LONGER_SERVING [] =
|
154 carolann.graves 1.7 "Provider ($0) is no longer serving subscription ($1) in namespace $2";
|
155 kumpf 1.1
156 static const char _MSG_PROVIDER_NO_LONGER_SERVING_KEY [] =
157 "IndicationService.IndicationService._MSG_PROVIDER_NO_LONGER_SERVING";
158
159 static const char _MSG_PROVIDER_NOW_SERVING [] =
|
160 carolann.graves 1.7 "Provider ($0) is now serving subscription ($1) in namespace $2";
|
161 kumpf 1.1
162 static const char _MSG_PROVIDER_NOW_SERVING_KEY [] =
163 "IndicationService.IndicationService._MSG_PROVIDER_NOW_SERVING";
164
|
165 carolann.graves 1.7 static const char _MSG_NO_PROVIDER [] = "Subscription ($0) in namespace $1 has no provider";
|
166 kumpf 1.1
167 static const char _MSG_NO_PROVIDER_KEY [] =
168 "IndicationService.IndicationService._MSG_NO_PROVIDER";
169
170 static const char _MSG_NON_PRIVILEGED_ACCESS_DISABLED [] =
171 "User ($0) is not authorized to perform this operation.";
172
173 static const char _MSG_NON_PRIVILEGED_ACCESS_DISABLED_KEY [] =
174 "IndicationService.IndicationService._MSG_NON_PRIVILEGED_ACCESS_DISABLED";
175
|
176 kumpf 1.4 static const char _MSG_ARRAY_NOT_SUPPORTED_IN_WHERE [] =
177 "Array property $0 is not supported in the WQL WHERE clause";
178
179 static const char _MSG_ARRAY_NOT_SUPPORTED_IN_WHERE_KEY [] =
180 "IndicationService.IndicationService._MSG_ARRAY_NOT_SUPPORTED_IN_WHERE";
181
182 static const char _MSG_WHERE_PROPERTY_NOT_FOUND [] =
183 "Property $0 referenced in the WQL WHERE clause was not found in the indication class $1";
184
185 static const char _MSG_WHERE_PROPERTY_NOT_FOUND_KEY [] =
186 "IndicationService.IndicationService._MSG_WHERE_PROPERTY_NOT_FOUND";
187
188 static const char _MSG_SELECT_PROPERTY_NOT_FOUND [] =
189 "Property $0 referenced in the WQL SELECT clause was not found in the indication class $1";
190
191 static const char _MSG_SELECT_PROPERTY_NOT_FOUND_KEY [] =
192 "IndicationService.IndicationService._MSG_SELECT_PROPERTY_NOT_FOUND";
193
|
194 carolann.graves 1.8 static const char _MSG_PROPERTY_NOT_SUPPORTED [] =
195 "Property $0 is not supported in class $1";
196
197 static const char _MSG_PROPERTY_NOT_SUPPORTED_KEY [] =
198 "IndicationService.IndicationService._MSG_PROPERTY_NOT_SUPPORTED";
199
|
200 kumpf 1.1 PEGASUS_NAMESPACE_END
201
202 #endif /* Pegasus_IndicationMessageConstants_h */
|