version 1.12.12.2, 2003/08/13 19:39:51
|
version 1.13, 2003/07/22 21:31:45
|
|
|
#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; |
|
|
_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; |
|
|
} | } |
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); |
|
|
} | } |
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")); |
|
} | } |
} | } |
| |