version 1.6, 2006/11/15 20:37:29
|
version 1.6.4.2, 2007/04/04 11:04:50
|
|
|
} \ | } \ |
catch (...) \ | catch (...) \ |
{ \ | { \ |
PEG_TRACE_STRING(TRC_PROVIDERMANAGER, Tracer::LEVEL4, \ |
PEG_TRACE_CSTRING(TRC_PROVIDERMANAGER, Tracer::LEVEL4, \ |
"Provider Exception: Unknown"); \ | "Provider Exception: Unknown"); \ |
handler.setStatus(CIM_ERR_FAILED, "Unknown error."); \ | handler.setStatus(CIM_ERR_FAILED, "Unknown error."); \ |
} | } |
|
|
} | } |
catch (...) | catch (...) |
{ | { |
PEG_TRACE_STRING(TRC_PROVIDERMANAGER, Tracer::LEVEL2, |
PEG_TRACE_CSTRING(TRC_PROVIDERMANAGER, Tracer::LEVEL2, |
"Exception: Unknown"); | "Exception: Unknown"); |
response = request->buildResponse(); | response = request->buildResponse(); |
response->cimException = PEGASUS_CIM_EXCEPTION( | response->cimException = PEGASUS_CIM_EXCEPTION( |
|
|
"Object path: $0, Method: $1", | "Object path: $0, Method: $1", |
objectPath.toString(), request->methodName.getString())); | objectPath.toString(), request->methodName.getString())); |
| |
CIMObjectPath instanceReference(request->instanceName); |
|
instanceReference.setNameSpace(request->nameSpace); |
|
|
|
OperationContext providerContext( | OperationContext providerContext( |
_createProviderOperationContext(request->operationContext)); | _createProviderOperationContext(request->operationContext)); |
| |
|
|
HANDLE_PROVIDER_EXCEPTION( | HANDLE_PROVIDER_EXCEPTION( |
provider->invokeMethod( | provider->invokeMethod( |
providerContext, | providerContext, |
instanceReference, |
objectPath, |
request->methodName, | request->methodName, |
request->inParameters, | request->inParameters, |
handler), | handler), |
|
|
// | // |
if (status.testIfZeroAndIncrementSubscriptions()) | if (status.testIfZeroAndIncrementSubscriptions()) |
{ | { |
PEG_TRACE_STRING(TRC_PROVIDERMANAGER, Tracer::LEVEL4, |
PEG_TRACE_CSTRING(TRC_PROVIDERMANAGER, Tracer::LEVEL4, |
"First accepted subscription"); | "First accepted subscription"); |
| |
// | // |