version 1.21, 2002/09/13 21:40:42
|
version 1.22, 2003/07/31 14:26:04
|
|
|
| |
#include "CIMObjectRep.h" | #include "CIMObjectRep.h" |
#include "CIMName.h" | #include "CIMName.h" |
|
#include <Pegasus/Common/MessageLoader.h> //l10n |
| |
PEGASUS_USING_STD; | PEGASUS_USING_STD; |
| |
|
|
| |
// Reject duplicate property names: | // Reject duplicate property names: |
| |
if (findProperty(x.getName()) != PEG_NOT_FOUND) |
if (findProperty(x.getName()) != PEG_NOT_FOUND){ |
throw AlreadyExistsException |
//l10n |
("property \"" + x.getName().getString () + "\""); |
//throw AlreadyExistsException |
|
//("property \"" + x.getName().getString () + "\""); |
|
MessageLoaderParms parms("Common.CIMObjectRep.PROPERTY", |
|
"property \"$0\"", |
|
x.getName().getString()); |
|
throw AlreadyExistsException(parms); |
|
|
|
} |
| |
// Append property: | // Append property: |
| |