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

Diff for /pegasus/src/Pegasus/Common/CIMClassRep.cpp between version 1.61 and 1.62

version 1.61, 2004/06/30 22:18:26 version 1.62, 2004/10/07 13:51:08
Line 247 
Line 247 
                 {                 {
                         CIMProperty& property = _properties[i];                         CIMProperty& property = _properties[i];
  
                         if (!isAssociationClass &&              if(property.getValue().getType() == CIMTYPE_REFERENCE)
                             property.getValue().getType() == CIMTYPE_REFERENCE)              {
                           if (!isAssociationClass)
                         {                         {
                                 //l10n                                 //l10n
                             //throw PEGASUS_CIM_EXCEPTION(CIM_ERR_INVALID_PARAMETER,                             //throw PEGASUS_CIM_EXCEPTION(CIM_ERR_INVALID_PARAMETER,
Line 258 
Line 259 
                                                                                    "Non-assocation class contains reference property"));                                                                                    "Non-assocation class contains reference property"));
  
                         }                         }
                           if(property.getReferenceClassName().isNull())
                           {
                               throw PEGASUS_CIM_EXCEPTION_L(CIM_ERR_INVALID_PARAMETER,
                                   MessageLoaderParms("Common.CIMClassRep.REFERENCE_PROPERTY_MISSING_REFERENCE_CLASS_NAME",
                                                                                      "Reference Property for CIMClass Definition missing ReferenceClass Name"));
                           }
               }
   
  
                         Uint32 index = superClass.findProperty(property.getName());                         Uint32 index = superClass.findProperty(property.getName());
  


Legend:
Removed from v.1.61  
changed lines
  Added in v.1.62

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2