(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.13 and 1.15

version 1.13, 2003/07/22 21:31:45 version 1.15, 2003/08/12 21:35:23
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 53 
Line 56 
     _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 169 
Line 174 
         }         }
         else         else
         {         {
             throw PEGASUS_CIM_EXCEPTION(CIM_ERR_FAILED, "Invalid MappingStrings Value");            // l10n
   
             // 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 196 
Line 207 
     }     }
     else     else
     {     {
         throw PEGASUS_CIM_EXCEPTION(CIM_ERR_FAILED,  
                 "Invalid IndicationHandlerSNMPMapper instance");        // l10n
   
         // 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.13  
changed lines
  Added in v.1.15

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2