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

Diff for /pegasus/src/Pegasus/Handler/snmpIndicationHandler/snmpIndicationHandler.cpp between version 1.12.12.2 and 1.13

version 1.12.12.2, 2003/08/13 19:39:51 version 1.13, 2003/07/22 21:31:45
Line 44 
Line 44 
 #include "snmpDeliverTrap_stub.h" #include "snmpDeliverTrap_stub.h"
 #endif #endif
  
 // l10n  
 #include <Pegasus/Common/MessageLoader.h>  
   
 PEGASUS_NAMESPACE_BEGIN PEGASUS_NAMESPACE_BEGIN
  
 PEGASUS_USING_STD; PEGASUS_USING_STD;
Line 56 
Line 53 
     _repository = repository;     _repository = repository;
 } }
  
 // l10n - note: ignoring indication language  
 void snmpIndicationHandler::handleIndication(CIMInstance& handler, void snmpIndicationHandler::handleIndication(CIMInstance& handler,
     CIMInstance& indication, String nameSpace,      CIMInstance& indication, String nameSpace)
     ContentLanguages & contentLanguages)  
 { {
     Array<String> propOIDs;     Array<String> propOIDs;
     Array<String> propTYPEs;     Array<String> propTYPEs;
Line 174 
Line 169 
         }         }
         else         else
         {         {
           // l10n              throw PEGASUS_CIM_EXCEPTION(CIM_ERR_FAILED, "Invalid MappingStrings Value");
   
           // throw PEGASUS_CIM_EXCEPTION(CIM_ERR_FAILED, "Invalid MappingStrings Value");  
   
           throw PEGASUS_CIM_EXCEPTION_L (CIM_ERR_FAILED,  
                                          MessageLoaderParms("Handler.snmpIndicationHandler.snmpIndicationHandler.INVALID_VALUE",  
                                                             "Invalid $0 Value", "MappingStrings"));  
         }         }
  
         handler.getProperty(targetHostPos).getValue().get(targetHost);         handler.getProperty(targetHostPos).getValue().get(targetHost);
Line 207 
Line 196 
     }     }
     else     else
     {     {
           throw PEGASUS_CIM_EXCEPTION(CIM_ERR_FAILED,
       // l10n                  "Invalid IndicationHandlerSNMPMapper instance");
   
       // throw PEGASUS_CIM_EXCEPTION(CIM_ERR_FAILED,  
       // "Invalid IndicationHandlerSNMPMapper instance");  
   
       throw PEGASUS_CIM_EXCEPTION_L (CIM_ERR_FAILED,  
                                      MessageLoaderParms("Handler.snmpIndicationHandler.snmpIndicationHandler.INVALID_INSTANCE",  
                                                         "Invalid $0 instance", "IndicationHandlerSNMPMapper"));  
     }     }
 } }
  


Legend:
Removed from v.1.12.12.2  
changed lines
  Added in v.1.13

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2