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

Diff for /pegasus/src/Pegasus/Common/Exception.cpp between version 1.77 and 1.77.8.1

version 1.77, 2006/01/30 16:16:52 version 1.77.8.1, 2006/04/25 14:42:18
Line 413 
Line 413 
         _rep->message.append(MessageLoader::getMessage(msgParms));         _rep->message.append(MessageLoader::getMessage(msgParms));
 } }
  
   
 //////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
 // //
 // CIMException // CIMException
Line 470 
Line 469 
     tmp->code = rep->code;     tmp->code = rep->code;
     tmp->file = rep->file;     tmp->file = rep->file;
     tmp->line = rep->line;     tmp->line = rep->line;
       tmp->errors = rep->errors;
     _rep = tmp;     _rep = tmp;
 } }
  
Line 487 
Line 487 
         left->code = right->code;         left->code = right->code;
         left->file = right->file;         left->file = right->file;
         left->line = right->line;         left->line = right->line;
           left->errors = right->errors;
     }     }
     return *this;     return *this;
 } }
Line 495 
Line 496 
 { {
 } }
  
   Uint32 CIMException::getErrorCount() const
   {
       return reinterpret_cast<CIMExceptionRep*>(_rep)->errors.size();
   }
   
   CIMInstance CIMException::getError(Uint32 index)
   {
       return reinterpret_cast<CIMExceptionRep*>(_rep)->errors[index];
   }
   
   CIMConstInstance CIMException::getError(Uint32 index) const
   {
       return reinterpret_cast<CIMExceptionRep*>(_rep)->errors[index];
   }
   
   void CIMException::addError(const CIMInstance& instance)
   {
       return reinterpret_cast<CIMExceptionRep*>(_rep)->errors.append(instance);
   }
   
   void CIMException::removeError(Uint32 index)
   {
       return reinterpret_cast<CIMExceptionRep*>(_rep)->errors.remove(index);
   }
   
 CIMStatusCode CIMException::getCode() const CIMStatusCode CIMException::getCode() const
 { {
     CIMExceptionRep* rep;     CIMExceptionRep* rep;


Legend:
Removed from v.1.77  
changed lines
  Added in v.1.77.8.1

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2