(file) Return to CMPIProviderManager.cpp CVS log (file) (dir) Up to [Pegasus] / pegasus / src / Pegasus / ProviderManager2 / CMPI

Diff for /pegasus/src/Pegasus/ProviderManager2/CMPI/CMPIProviderManager.cpp between version 1.157 and 1.157.2.3

version 1.157, 2009/06/30 10:40:14 version 1.157.2.3, 2009/10/01 09:33:41
Line 38 
Line 38 
 #include "CMPI_ObjectPath.h" #include "CMPI_ObjectPath.h"
 #include "CMPI_Result.h" #include "CMPI_Result.h"
 #include "CMPI_SelectExp.h" #include "CMPI_SelectExp.h"
   #include "CMPISCMOUtilities.h"
   
  
 #include <Pegasus/Common/CIMMessage.h> #include <Pegasus/Common/CIMMessage.h>
 #include <Pegasus/Common/OperationContext.h> #include <Pegasus/Common/OperationContext.h>
Line 159 
Line 161 
             selxTab.lookup(i.key(), selx);             selxTab.lookup(i.key(), selx);
             if (selx->eSelx)             if (selx->eSelx)
                 delete selx->eSelx;                 delete selx->eSelx;
             if (selx->qContext)  
                 delete selx->qContext;  
             delete selx;             delete selx;
             //Same as above!             //Same as above!
             //selxTab.remove(i.key());             //selxTab.remove(i.key());
Line 459 
Line 459 
             (const char*)             (const char*)
                 request->instanceName.getClassName().getString().getCString()));                 request->instanceName.getClassName().getString().getCString()));
  
         // make target object path  
         CIMObjectPath objectPath(  
             System::getHostName(),  
             request->nameSpace,  
             request->instanceName.getClassName(),  
             request->instanceName.getKeyBindings());  
   
         Boolean remote=false;         Boolean remote=false;
         OpProviderHolder ph;         OpProviderHolder ph;
         CString remoteInfo;         CString remoteInfo;
Line 478 
Line 471 
  
         CMPIStatus rc={CMPI_RC_OK,NULL};         CMPIStatus rc={CMPI_RC_OK,NULL};
         CMPI_ContextOnStack eCtx(request->operationContext);         CMPI_ContextOnStack eCtx(request->operationContext);
         CMPI_ObjectPathOnStack eRef(objectPath);  
         CMPI_ResultOnStack eRes(handler,pr.getBroker());         CMPI_ResultOnStack eRes(handler,pr.getBroker());
         CMPI_ThreadContext thr(pr.getBroker(),&eCtx);         CMPI_ThreadContext thr(pr.getBroker(),&eCtx);
  
         CMPIPropertyList props(request->propertyList);         CMPIPropertyList props(request->propertyList);
         CString nameSpace = request->nameSpace.getString().getCString();         CString nameSpace = request->nameSpace.getString().getCString();
           CString className = request->className.getString().getCString();
  
         _setupCMPIContexts(         _setupCMPIContexts(
             &eCtx,             &eCtx,
Line 495 
Line 488 
             request->includeClassOrigin,             request->includeClassOrigin,
             true);             true);
  
           // make target object path
           SCMOClass* scmoClass =
               mbGetSCMOClass(
                   pr.getBroker(),
                   (const char*)nameSpace,
                   (const char*)className);
           if (0 == scmoClass)
           {
               // This indicates a severe error, since we should't have come
               // here at all, if the class is invalid
               PEG_TRACE((TRC_PROVIDERMANAGER,Tracer::LEVEL1,
                   "CMPIProviderManager::handleGetInstanceRequest - "
                   "Failed to obtain CIMClass for Namespace: %s  Classname: %s",
                   (const char*) request->nameSpace.getString().getCString(),
                   (const char*) request->className.getString().getCString()));
   
               CIMException cimException(CIM_ERR_NOT_FOUND);
               throw cimException;
           }
   
           SCMOInstance objectPath(*scmoClass,request->instanceName);
           objectPath.setHostName((const char*)System::getHostName().getCString());
           CMPI_ObjectPathOnStack eRef(objectPath);
   
         CMPIProvider::pm_service_op_lock op_lock(&pr);         CMPIProvider::pm_service_op_lock op_lock(&pr);
  
         PEG_TRACE((         PEG_TRACE((
Line 538 
Line 555 
             handler.setContext(response->operationContext);             handler.setContext(response->operationContext);
         }         }
  
         if (rc.rc!=CMPI_RC_OK)          _throwCIMException(rc, eRes.resError);
         {  
             CIMException cimException(  
                 (CIMStatusCode)rc.rc,  
                 rc.msg ? CMGetCharsPtr(rc.msg, NULL) : String::EMPTY);  
   
             if (eRes.resError)  
             {  
                 for (CMPI_Error* currErr=eRes.resError;  
                     currErr!=NULL;  
                     currErr=currErr->nextError)  
                 {  
                     cimException.addError(  
                         ((CIMError*)currErr->hdl)->getInstance());  
                 }  
             }  
             throw cimException;  
         }  
     }     }
     HandlerCatch(handler);     HandlerCatch(handler);
  
Line 581 
Line 581 
             (const char*) request->nameSpace.getString().getCString(),             (const char*) request->nameSpace.getString().getCString(),
             (const char*) request->className.getString().getCString()));             (const char*) request->className.getString().getCString()));
  
         // make target object path  
         CIMObjectPath objectPath(  
             System::getHostName(),  
             request->nameSpace,  
             request->className);  
  
         Boolean remote=false;         Boolean remote=false;
         OpProviderHolder ph;         OpProviderHolder ph;
Line 601 
Line 596 
  
         CMPIStatus rc={CMPI_RC_OK,NULL};         CMPIStatus rc={CMPI_RC_OK,NULL};
         CMPI_ContextOnStack eCtx(request->operationContext);         CMPI_ContextOnStack eCtx(request->operationContext);
         CMPI_ObjectPathOnStack eRef(objectPath);  
         CMPI_ResultOnStack eRes(handler,pr.getBroker());         CMPI_ResultOnStack eRes(handler,pr.getBroker());
         CMPI_ThreadContext thr(pr.getBroker(),&eCtx);         CMPI_ThreadContext thr(pr.getBroker(),&eCtx);
         CMPIPropertyList props(propertyList);         CMPIPropertyList props(propertyList);
         CString nameSpace = request->nameSpace.getString().getCString();         CString nameSpace = request->nameSpace.getString().getCString();
           CString className = request->className.getString().getCString();
  
         _setupCMPIContexts(         _setupCMPIContexts(
             &eCtx,             &eCtx,
Line 617 
Line 612 
             request->includeClassOrigin,             request->includeClassOrigin,
             true);             true);
  
           // make target object path
           SCMOClass* scmoClass =
               mbGetSCMOClass(
                   pr.getBroker(),
                   (const char*)nameSpace,
                   (const char*)className);
           if (0 == scmoClass)
           {
               // This indicates a severe error, since we should't have come
               // here at all, if the class is invalid
               PEG_TRACE((TRC_PROVIDERMANAGER,Tracer::LEVEL1,
                   "CMPIProviderManager::handleEnumerateInstancesRequest - "
                   "Failed to obtain CIMClass for Namespace: %s  Classname: %s",
                   (const char*) nameSpace,
                   (const char*) className));
   
               CIMException cimException(CIM_ERR_NOT_FOUND);
               throw cimException;
           }
   
           SCMOInstance objectPath(*scmoClass);
           CMPI_ObjectPathOnStack eRef(objectPath);
   
         CMPIProvider::pm_service_op_lock op_lock(&pr);         CMPIProvider::pm_service_op_lock op_lock(&pr);
  
         PEG_TRACE((         PEG_TRACE((
Line 660 
Line 678 
             handler.setContext(response->operationContext);             handler.setContext(response->operationContext);
         }         }
  
         if (rc.rc!=CMPI_RC_OK)          _throwCIMException(rc, eRes.resError);
         {  
             CIMException cimException(  
                 (CIMStatusCode)rc.rc,  
                 rc.msg ? CMGetCharsPtr(rc.msg, NULL) : String::EMPTY);  
   
             if (eRes.resError)  
             {  
                 for (CMPI_Error* currErr=eRes.resError;  
                     currErr!=NULL;  
                     currErr=currErr->nextError)  
                 {  
                     cimException.addError(  
                         ((CIMError*)currErr->hdl)->getInstance());  
                 }  
             }  
             throw cimException;  
         }  
   
     }     }
     HandlerCatch(handler);     HandlerCatch(handler);
  
Line 704 
Line 704 
             (const char*) request->nameSpace.getString().getCString(),             (const char*) request->nameSpace.getString().getCString(),
             (const char*) request->className.getString().getCString()));             (const char*) request->className.getString().getCString()));
  
         // make target object path  
         CIMObjectPath objectPath(  
             System::getHostName(),  
             request->nameSpace,  
             request->className);  
   
         Boolean remote=false;         Boolean remote=false;
         OpProviderHolder ph;         OpProviderHolder ph;
         CString remoteInfo;         CString remoteInfo;
Line 722 
Line 716 
  
         CMPIStatus rc={CMPI_RC_OK,NULL};         CMPIStatus rc={CMPI_RC_OK,NULL};
         CMPI_ContextOnStack eCtx(request->operationContext);         CMPI_ContextOnStack eCtx(request->operationContext);
         CMPI_ObjectPathOnStack eRef(objectPath);  
         CMPI_ResultOnStack eRes(handler,pr.getBroker());         CMPI_ResultOnStack eRes(handler,pr.getBroker());
         CMPI_ThreadContext thr(pr.getBroker(),&eCtx);         CMPI_ThreadContext thr(pr.getBroker(),&eCtx);
  
         CString nameSpace = request->nameSpace.getString().getCString();         CString nameSpace = request->nameSpace.getString().getCString();
           CString className = request->className.getString().getCString();
  
         _setupCMPIContexts(         _setupCMPIContexts(
             &eCtx,             &eCtx,
Line 738 
Line 732 
             false,             false,
             true);             true);
  
           // make target object path
           SCMOClass* scmoClass =
               mbGetSCMOClass(
                   pr.getBroker(),
                   (const char*)nameSpace,
                   (const char*)className);
           if (0 == scmoClass)
           {
               // This indicates a severe error, since we should't have come
               // here at all, if the class is invalid
               PEG_TRACE((TRC_PROVIDERMANAGER,Tracer::LEVEL1,
                   "CMPIProviderManager::handleEnumerateInstanceNamesRequest - "
                   "Failed to obtain CIMClass for Namespace: %s  Classname: %s",
                   (const char*) request->nameSpace.getString().getCString(),
                   (const char*) request->className.getString().getCString()));
   
               CIMException cimException(CIM_ERR_NOT_FOUND);
               throw cimException;
           }
   
           SCMOInstance objectPath(*scmoClass);
           CMPI_ObjectPathOnStack eRef(objectPath);
   
         CMPIProvider::pm_service_op_lock op_lock(&pr);         CMPIProvider::pm_service_op_lock op_lock(&pr);
  
         PEG_TRACE((         PEG_TRACE((
Line 779 
Line 796 
                 CMGetCharsPtr(cldata.value.string, NULL)))));                 CMGetCharsPtr(cldata.value.string, NULL)))));
             handler.setContext(response->operationContext);             handler.setContext(response->operationContext);
         }         }
           _throwCIMException(rc, eRes.resError);
         if (rc.rc!=CMPI_RC_OK)  
         {  
             CIMException cimException(  
                 (CIMStatusCode)rc.rc,  
                 rc.msg ? CMGetCharsPtr(rc.msg, NULL) : String::EMPTY);  
   
             if (eRes.resError)  
             {  
                 for (CMPI_Error* currErr=eRes.resError;  
                     currErr!=NULL;  
                     currErr=currErr->nextError)  
                 {  
                     cimException.addError(  
                         ((CIMError*)currErr->hdl)->getInstance());  
                 }  
             }  
             throw cimException;  
         }  
     }     }
     HandlerCatch(handler);     HandlerCatch(handler);
  
Line 904 
Line 903 
                 CMGetCharsPtr(cldata.value.string, NULL)))));                 CMGetCharsPtr(cldata.value.string, NULL)))));
             handler.setContext(response->operationContext);             handler.setContext(response->operationContext);
         }         }
           _throwCIMException(rc, eRes.resError);
         if (rc.rc!=CMPI_RC_OK)  
         {  
             CIMException cimException(  
                 (CIMStatusCode)rc.rc,  
                 rc.msg ? CMGetCharsPtr(rc.msg, NULL) : String::EMPTY);  
   
             if (eRes.resError)  
             {  
                 for (CMPI_Error* currErr=eRes.resError;  
                     currErr!=NULL;  
                     currErr=currErr->nextError)  
                 {  
                     cimException.addError(  
                         ((CIMError*)currErr->hdl)->getInstance());  
                 }  
             }  
             throw cimException;  
         }  
     }     }
     HandlerCatch(handler);     HandlerCatch(handler);
  
Line 1030 
Line 1011 
                 CMGetCharsPtr(cldata.value.string, NULL)))));                 CMGetCharsPtr(cldata.value.string, NULL)))));
             handler.setContext(response->operationContext);             handler.setContext(response->operationContext);
         }         }
           _throwCIMException(rc, eRes.resError);
         if (rc.rc!=CMPI_RC_OK)  
         {  
             CIMException cimException(  
                 (CIMStatusCode)rc.rc,  
                 rc.msg ? CMGetCharsPtr(rc.msg, NULL) : String::EMPTY);  
   
             if (eRes.resError)  
             {  
                 for (CMPI_Error* currErr=eRes.resError;  
                     currErr!=NULL;  
                     currErr=currErr->nextError)  
                 {  
                     cimException.addError(  
                         ((CIMError*)currErr->hdl)->getInstance());  
                 }  
             }  
             throw cimException;  
         }  
     }     }
     HandlerCatch(handler);     HandlerCatch(handler);
  
Line 1151 
Line 1114 
                 CMGetCharsPtr(cldata.value.string, NULL)))));                 CMGetCharsPtr(cldata.value.string, NULL)))));
             handler.setContext(response->operationContext);             handler.setContext(response->operationContext);
         }         }
           _throwCIMException(rc, eRes.resError);
         if (rc.rc!=CMPI_RC_OK)  
         {  
             CIMException cimException(  
                 (CIMStatusCode)rc.rc,  
                 rc.msg ? CMGetCharsPtr(rc.msg, NULL) : String::EMPTY);  
   
             if (eRes.resError)  
             {  
                 for (CMPI_Error* currErr=eRes.resError;  
                     currErr!=NULL;  
                     currErr=currErr->nextError)  
                 {  
                     cimException.addError(  
                         ((CIMError*)currErr->hdl)->getInstance());  
                 }  
             }  
             throw cimException;  
         }  
     }     }
     HandlerCatch(handler);     HandlerCatch(handler);
  
Line 1276 
Line 1221 
                 CMGetCharsPtr(cldata.value.string, NULL)))));                 CMGetCharsPtr(cldata.value.string, NULL)))));
             handler.setContext(response->operationContext);             handler.setContext(response->operationContext);
         }         }
           _throwCIMException(rc, eRes.resError);
         if (rc.rc!=CMPI_RC_OK)  
         {  
             CIMException cimException(  
                 (CIMStatusCode)rc.rc,  
                 rc.msg ? CMGetCharsPtr(rc.msg, NULL) : String::EMPTY);  
   
             if (eRes.resError)  
             {  
                 for (CMPI_Error* currErr=eRes.resError;  
                     currErr!=NULL;  
                     currErr=currErr->nextError)  
                 {  
                     cimException.addError(  
                         ((CIMError*)currErr->hdl)->getInstance());  
                 }  
             }  
             throw cimException;  
         }  
  
     }     }
     HandlerCatch(handler);     HandlerCatch(handler);
Line 1420 
Line 1347 
                 CMGetCharsPtr(cldata.value.string, NULL)))));                 CMGetCharsPtr(cldata.value.string, NULL)))));
             handler.setContext(response->operationContext);             handler.setContext(response->operationContext);
         }         }
           _throwCIMException(rc, eRes.resError);
         if (rc.rc!=CMPI_RC_OK)  
         {  
             CIMException cimException(  
                 (CIMStatusCode)rc.rc,  
                 rc.msg ? CMGetCharsPtr(rc.msg, NULL) : String::EMPTY);  
   
             if (eRes.resError)  
             {  
                 for (CMPI_Error* currErr=eRes.resError;  
                     currErr!=NULL;  
                     currErr=currErr->nextError)  
                 {  
                     cimException.addError(  
                         ((CIMError*)currErr->hdl)->getInstance());  
                 }  
             }  
             throw cimException;  
         }  
     }     }
     HandlerCatch(handler);     HandlerCatch(handler);
  
Line 1559 
Line 1468 
                 CMGetCharsPtr(cldata.value.string, NULL)))));                 CMGetCharsPtr(cldata.value.string, NULL)))));
             handler.setContext(response->operationContext);             handler.setContext(response->operationContext);
         }         }
           _throwCIMException(rc, eRes.resError);
         if (rc.rc!=CMPI_RC_OK)  
         {  
             CIMException cimException(  
                 (CIMStatusCode)rc.rc,  
                 rc.msg ? CMGetCharsPtr(rc.msg, NULL) : String::EMPTY);  
   
             if (eRes.resError)  
             {  
                 for (CMPI_Error* currErr=eRes.resError;  
                     currErr!=NULL;  
                     currErr=currErr->nextError)  
                 {  
                     cimException.addError(  
                         ((CIMError*)currErr->hdl)->getInstance());  
                 }  
             }  
             throw cimException;  
         }  
     }     }
     HandlerCatch(handler);     HandlerCatch(handler);
  
Line 1696 
Line 1587 
                 CMGetCharsPtr(cldata.value.string, NULL)))));                 CMGetCharsPtr(cldata.value.string, NULL)))));
             handler.setContext(response->operationContext);             handler.setContext(response->operationContext);
         }         }
           _throwCIMException(rc, eRes.resError);
         if (rc.rc!=CMPI_RC_OK)  
         {  
             CIMException cimException(  
                 (CIMStatusCode)rc.rc,  
                 rc.msg ? CMGetCharsPtr(rc.msg, NULL) : String::EMPTY);  
   
             if (eRes.resError)  
             {  
                 for (CMPI_Error* currErr=eRes.resError;  
                     currErr!=NULL;  
                     currErr=currErr->nextError)  
                 {  
                     cimException.addError(  
                         ((CIMError*)currErr->hdl)->getInstance());  
                 }  
             }  
             throw cimException;  
         }  
     }     }
     HandlerCatch(handler);     HandlerCatch(handler);
  
Line 1832 
Line 1705 
                 CMGetCharsPtr(cldata.value.string, NULL)))));                 CMGetCharsPtr(cldata.value.string, NULL)))));
             handler.setContext(response->operationContext);             handler.setContext(response->operationContext);
         }         }
           _throwCIMException(rc, eRes.resError);
         if (rc.rc!=CMPI_RC_OK)  
         {  
             CIMException cimException(  
                 (CIMStatusCode)rc.rc,  
                 rc.msg ? CMGetCharsPtr(rc.msg, NULL) : String::EMPTY);  
   
             if (eRes.resError)  
             {  
                 for (CMPI_Error* currErr=eRes.resError;  
                     currErr!=NULL;  
                     currErr=currErr->nextError)  
                 {  
                     cimException.addError(  
                         ((CIMError*)currErr->hdl)->getInstance());  
                 }  
             }  
             throw cimException;  
         }  
     }     }
     HandlerCatch(handler);     HandlerCatch(handler);
  
Line 1964 
Line 1819 
                 CMGetCharsPtr(cldata.value.string, NULL)))));                 CMGetCharsPtr(cldata.value.string, NULL)))));
             handler.setContext(response->operationContext);             handler.setContext(response->operationContext);
         }         }
           _throwCIMException(rc, eRes.resError);
         if (rc.rc!=CMPI_RC_OK)  
         {  
             CIMException cimException(  
                 (CIMStatusCode)rc.rc,  
                 rc.msg ? CMGetCharsPtr(rc.msg, NULL) : String::EMPTY);  
   
             if (eRes.resError)  
             {  
                 for (CMPI_Error* currErr=eRes.resError;  
                     currErr!=NULL;  
                     currErr=currErr->nextError)  
                 {  
                     cimException.addError(  
                         ((CIMError*)currErr->hdl)->getInstance());  
                 }  
             }  
             throw cimException;  
         }  
  
         // Even if external normalization is enabled we don't normalize the         // Even if external normalization is enabled we don't normalize the
         // Embedded instances present in output args. Normalize them here.         // Embedded instances present in output args. Normalize them here.
Line 2133 
Line 1970 
     return className;     return className;
 } }
  
   void CMPIProviderManager::_throwCIMException(
       CMPIStatus rc,
       CMPI_Error* cmpiError)
   {
       if (rc.rc!=CMPI_RC_OK)
       {
           CIMException cimException(
               (CIMStatusCode)rc.rc,
               rc.msg ? CMGetCharsPtr(rc.msg, NULL) : String::EMPTY);
           if (cmpiError)
           {
               for (CMPI_Error* currErr=cmpiError;
                   currErr!=NULL;
                   currErr=currErr->nextError)
               {
                   cimException.addError(
                       ((CIMError*)currErr->hdl)->getInstance());
               }
           }
           throw cimException;
       }
   
   }
   
 Message * CMPIProviderManager::handleCreateSubscriptionRequest( Message * CMPIProviderManager::handleCreateSubscriptionRequest(
     const Message * message)     const Message * message)
 { {
Line 2219 
Line 2080 
             request->operationContext.get(             request->operationContext.get(
             SubscriptionFilterConditionContainer::NAME);             SubscriptionFilterConditionContainer::NAME);
  
         CIMOMHandleQueryContext *_context=          CIMOMHandleQueryContext _context(
             new CIMOMHandleQueryContext(  
             CIMNamespaceName(             CIMNamespaceName(
             request->nameSpace.getString()),             request->nameSpace.getString()),
             *pr.getCIMOMHandle());             *pr.getCIMOMHandle());
  
         CMPI_SelectExp *eSelx=new CMPI_SelectExp(         CMPI_SelectExp *eSelx=new CMPI_SelectExp(
             request->operationContext,             request->operationContext,
             _context,              &_context,
             request->query,             request->query,
             sub_cntr.getQueryLanguage());             sub_cntr.getQueryLanguage());
  
         srec->eSelx=eSelx;         srec->eSelx=eSelx;
         srec->qContext=_context;  
  
         CMPI_ThreadContext thr(pr.getBroker(),&eCtx);         CMPI_ThreadContext thr(pr.getBroker(),&eCtx);
  
         String lang(sub_cntr.getQueryLanguage());         String lang(sub_cntr.getQueryLanguage());
         CString className = _getClassNameFromQuery(         CString className = _getClassNameFromQuery(
             _context,              &_context,
             request->query,             request->query,
             lang).getCString();             lang).getCString();
  
Line 2376 
Line 2235 
             if (--srec->count<=0)             if (--srec->count<=0)
             {             {
                 selxTab.remove(sPath);                 selxTab.remove(sPath);
                 delete _context;  
                 delete eSelx;                 delete eSelx;
                 delete srec;                 delete srec;
             }             }
Line 2479 
Line 2337 
         };         };
  
         CMPI_SelectExp *eSelx=srec->eSelx;         CMPI_SelectExp *eSelx=srec->eSelx;
         CIMOMHandleQueryContext *qContext=srec->qContext;  
  
         CString className = eSelx->classNames[0].getClassName().         CString className = eSelx->classNames[0].getClassName().
             getString().getCString();             getString().getCString();
Line 2581 
Line 2438 
  
         if (srec->count<=0)         if (srec->count<=0)
         {         {
             delete qContext;  
             delete eSelx;             delete eSelx;
             delete srec;             delete srec;
         }         }
Line 3050 
Line 2906 
                 CMGetCharsPtr(cldata.value.string, NULL)))));                 CMGetCharsPtr(cldata.value.string, NULL)))));
             handler.setContext(response->operationContext);             handler.setContext(response->operationContext);
         }         }
           _throwCIMException(rc, eRes.resError);
         if (rc.rc!=CMPI_RC_OK)  
         {  
             CIMException cimException(  
                 (CIMStatusCode)rc.rc,  
                 rc.msg ? CMGetCharsPtr(rc.msg, NULL) : String::EMPTY);  
   
             if (eRes.resError)  
             {  
                 for (CMPI_Error* currErr=eRes.resError;  
                     currErr!=NULL;  
                     currErr=currErr->nextError)  
                 {  
                     cimException.addError(  
                         ((CIMError*)currErr->hdl)->getInstance());  
                 }  
             }  
             throw cimException;  
         }  
  
         // Copy property value from instance to getProperty response         // Copy property value from instance to getProperty response
         CIMInstance& instance = GI_response->getResponseData().getCimInstance();         CIMInstance& instance = GI_response->getResponseData().getCimInstance();
Line 3242 
Line 3080 
                 CMGetCharsPtr(cldata.value.string, NULL)))));                 CMGetCharsPtr(cldata.value.string, NULL)))));
             handler.setContext(response->operationContext);             handler.setContext(response->operationContext);
         }         }
           _throwCIMException(rc, eRes.resError);
         if (rc.rc!=CMPI_RC_OK)  
         {  
             CIMException cimException(  
                 (CIMStatusCode)rc.rc,  
                 rc.msg ? CMGetCharsPtr(rc.msg, NULL) : String::EMPTY);  
   
             if (eRes.resError)  
             {  
                 for (CMPI_Error* currErr=eRes.resError;  
                     currErr!=NULL;  
                     currErr=currErr->nextError)  
                 {  
                     cimException.addError(  
                         ((CIMError*)currErr->hdl)->getInstance());  
                 }  
             }  
             throw cimException;  
         }  
     }     }
     HandlerCatch(handler);     HandlerCatch(handler);
  


Legend:
Removed from v.1.157  
changed lines
  Added in v.1.157.2.3

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2