1 karl 1.4 //%2004////////////////////////////////////////////////////////////////////////
|
2 kumpf 1.1 //
|
3 karl 1.4 // 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 karl 1.3 // IBM Corp.; EMC Corporation, The Open Group.
|
7 karl 1.4 // Copyright (c) 2004 BMC Software; Hewlett-Packard Development Company, L.P.;
8 // IBM Corp.; EMC Corporation; VERITAS Software Corporation; The Open Group.
|
9 kumpf 1.1 //
10 // Permission is hereby granted, free of charge, to any person obtaining a copy
11 // of this software and associated documentation files (the "Software"), to
12 // deal in the Software without restriction, including without limitation the
13 // rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
14 // sell copies of the Software, and to permit persons to whom the Software is
15 // furnished to do so, subject to the following conditions:
16 //
17 // THE ABOVE COPYRIGHT NOTICE AND THIS PERMISSION NOTICE SHALL BE INCLUDED IN
18 // ALL COPIES OR SUBSTANTIAL PORTIONS OF THE SOFTWARE. THE SOFTWARE IS PROVIDED
19 // "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT
20 // LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
21 // PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
22 // HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
23 // ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
24 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
25 //
26 //==============================================================================
27 //
28 // Author: Roger Kumpf, Hewlett-Packard Company (roger_kumpf@hp.com)
29 //
30 kumpf 1.1 // Modified By:
31 //
32 //%/////////////////////////////////////////////////////////////////////////////
33
34 #include <Pegasus/Common/Config.h>
35 #include "ProviderException.h"
36
|
37 chuck 1.2 // l10n - added MessagesParms
38
|
39 kumpf 1.1 PEGASUS_NAMESPACE_BEGIN
40
41 CIMOperationFailedException::CIMOperationFailedException(const String & message)
42 : CIMException(CIM_ERR_FAILED, message)
43 {
44 }
45
|
46 chuck 1.2 CIMOperationFailedException::CIMOperationFailedException(const MessageLoaderParms & parms)
47 : CIMException(CIM_ERR_FAILED, parms)
48 {
49 }
50
|
51 kumpf 1.1 CIMOperationFailedException::CIMOperationFailedException(
52 const CIMStatusCode code,
53 const String & message)
54 : CIMException(code, message)
55 {
56 }
57
|
58 chuck 1.2 CIMOperationFailedException::CIMOperationFailedException(
59 const CIMStatusCode code,
60 const MessageLoaderParms & parms)
61 : CIMException(code, parms)
62 {
63 }
|
64 kumpf 1.1
65 CIMAccessDeniedException::CIMAccessDeniedException(const String & message)
66 : CIMOperationFailedException(CIM_ERR_ACCESS_DENIED, message)
67 {
68 }
69
|
70 chuck 1.2 CIMAccessDeniedException::CIMAccessDeniedException(const MessageLoaderParms & parms)
71 : CIMOperationFailedException(CIM_ERR_ACCESS_DENIED, parms)
72 {
73 }
74
|
75 kumpf 1.1 CIMInvalidParameterException::CIMInvalidParameterException(
76 const String & message)
77 : CIMOperationFailedException(CIM_ERR_INVALID_PARAMETER, message)
78 {
79 }
80
|
81 chuck 1.2 CIMInvalidParameterException::CIMInvalidParameterException(
82 const MessageLoaderParms & parms)
83 : CIMOperationFailedException(CIM_ERR_INVALID_PARAMETER, parms)
84 {
85 }
86
|
87 kumpf 1.1 #if 0
88 CIMInvalidClassException::CIMInvalidClassException(const String & message)
89 : CIMOperationFailedException(CIM_ERR_INVALID_CLASS, message)
90 {
91 }
|
92 chuck 1.2
93 CIMInvalidClassException::CIMInvalidClassException(const MessageLoaderParms & parms)
94 : CIMOperationFailedException(CIM_ERR_INVALID_CLASS, parms)
95 {
96 }
|
97 kumpf 1.1 #endif
98
99 CIMObjectNotFoundException::CIMObjectNotFoundException(const String & message)
100 : CIMOperationFailedException(CIM_ERR_NOT_FOUND, message)
101 {
102 }
103
|
104 chuck 1.2 CIMObjectNotFoundException::CIMObjectNotFoundException(const MessageLoaderParms & parms)
105 : CIMOperationFailedException(CIM_ERR_NOT_FOUND, parms)
106 {
107 }
108
|
109 kumpf 1.1 CIMNotSupportedException::CIMNotSupportedException(const String & message)
110 : CIMOperationFailedException(CIM_ERR_NOT_SUPPORTED, message)
111 {
112 }
113
|
114 chuck 1.2 CIMNotSupportedException::CIMNotSupportedException(const MessageLoaderParms & parms)
115 : CIMOperationFailedException(CIM_ERR_NOT_SUPPORTED, parms)
116 {
117 }
118
|
119 kumpf 1.1 CIMObjectAlreadyExistsException::CIMObjectAlreadyExistsException(
120 const String & message)
121 : CIMOperationFailedException(CIM_ERR_ALREADY_EXISTS, message)
122 {
123 }
124
|
125 chuck 1.2 CIMObjectAlreadyExistsException::CIMObjectAlreadyExistsException(
126 const MessageLoaderParms & parms)
127 : CIMOperationFailedException(CIM_ERR_ALREADY_EXISTS, parms)
128 {
129 }
130
|
131 kumpf 1.1 CIMPropertyNotFoundException::CIMPropertyNotFoundException(const String & message)
132 : CIMOperationFailedException(CIM_ERR_NO_SUCH_PROPERTY, message)
133 {
134 }
135
|
136 chuck 1.2 CIMPropertyNotFoundException::CIMPropertyNotFoundException(const MessageLoaderParms & parms)
137 : CIMOperationFailedException(CIM_ERR_NO_SUCH_PROPERTY, parms)
138 {
139 }
140
|
141 kumpf 1.1 #if 0
142 // Query operations are not yet supported in Pegasus
143 CIMInvalidQueryException::CIMInvalidQueryException(const String & message)
144 : CIMOperationFailedException(CIM_ERR_INVALID_QUERY, message)
145 {
146 }
|
147 chuck 1.2
148 CIMInvalidQueryException::CIMInvalidQueryException(const MessageLoaderParms & parms)
149 : CIMOperationFailedException(CIM_ERR_INVALID_QUERY, parms)
150 {
151 }
|
152 kumpf 1.1 #endif
153
154 CIMMethodNotFoundException::CIMMethodNotFoundException(const String & message)
155 : CIMOperationFailedException(CIM_ERR_METHOD_NOT_FOUND, message)
|
156 chuck 1.2 {
157 }
158
159 CIMMethodNotFoundException::CIMMethodNotFoundException(const MessageLoaderParms & parms)
160 : CIMOperationFailedException(CIM_ERR_METHOD_NOT_FOUND, parms)
|
161 kumpf 1.1 {
162 }
163
164 PEGASUS_NAMESPACE_END
|