(file) Return to CIMObjectRep.cpp CVS log (file) (dir) Up to [Pegasus] / pegasus / src / Pegasus / Common

Diff for /pegasus/src/Pegasus/Common/CIMObjectRep.cpp between version 1.21 and 1.22

version 1.21, 2002/09/13 21:40:42 version 1.22, 2003/07/31 14:26:04
Line 30 
Line 30 
  
 #include "CIMObjectRep.h" #include "CIMObjectRep.h"
 #include "CIMName.h" #include "CIMName.h"
   #include <Pegasus/Common/MessageLoader.h> //l10n
  
 PEGASUS_USING_STD; PEGASUS_USING_STD;
  
Line 52 
Line 53 
  
     // 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:
  


Legend:
Removed from v.1.21  
changed lines
  Added in v.1.22

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2