version 1.225, 2005/04/01 21:47:14
|
version 1.226, 2005/04/22 22:01:43
|
|
|
{ | { |
if (_totalReceivedExpected == _totalReceived) | if (_totalReceivedExpected == _totalReceived) |
{ | { |
PEG_TRACE_STRING(TRC_DISPATCHER, Tracer::LEVEL4, Formatter:: |
PEG_TRACE_STRING(TRC_DISPATCHER, Tracer::LEVEL4, |
format(func + "message is complete. " |
Formatter::format( |
|
func + "message is complete. " |
"total responses: $0, " | "total responses: $0, " |
"total chunks: $1, " | "total chunks: $1, " |
"total errors: $2", | "total errors: $2", |
|
|
} | } |
else | else |
{ | { |
Logger:: |
Logger::put( |
put(Logger::STANDARD_LOG, System::CIMSERVER, Logger::WARNING, func + |
Logger::STANDARD_LOG, System::CIMSERVER, Logger::WARNING, |
|
func + |
"All completed responses ($0) for current request have been " | "All completed responses ($0) for current request have been " |
"accounted for but expected count ($1) does not match the " | "accounted for but expected count ($1) does not match the " |
"received count ($2). error count ($4).Attempting to continue ...", | "received count ($2). error count ($4).Attempting to continue ...", |
|
|
{ | { |
tmp = _lookupAssociationProvider(nameSpace, assocClass,providerIdContainer); | tmp = _lookupAssociationProvider(nameSpace, assocClass,providerIdContainer); |
} | } |
catch(CIMException& exception) |
catch(CIMException&) |
{ | { |
PEG_METHOD_EXIT(); | PEG_METHOD_EXIT(); |
throw exception; |
throw; |
} | } |
catch(Exception& exception) | catch(Exception& exception) |
{ | { |
|
|
request->nameSpace.getString(), | request->nameSpace.getString(), |
request->instanceName.getClassName().getString()); | request->instanceName.getClassName().getString()); |
} | } |
catch (CIMException& exception) |
catch (CIMException&) |
{ | { |
PEG_METHOD_EXIT(); | PEG_METHOD_EXIT(); |
throw exception; |
throw; |
} | } |
catch (Exception& exception) |
catch (Exception& e) |
{ | { |
PEG_METHOD_EXIT(); | PEG_METHOD_EXIT(); |
throw exception; |
throw PEGASUS_CIM_EXCEPTION(CIM_ERR_FAILED, e.getMessage()); |
} | } |
catch (...) | catch (...) |
{ | { |
|
|
} | } |
catch (CIMException& exception) | catch (CIMException& exception) |
{ | { |
PEG_METHOD_EXIT(); |
|
|
|
// map CIM_ERR_NOT_FOUND to CIM_ERR_INVALID_CLASS | // map CIM_ERR_NOT_FOUND to CIM_ERR_INVALID_CLASS |
if (exception.getCode() == CIM_ERR_NOT_FOUND) | if (exception.getCode() == CIM_ERR_NOT_FOUND) |
{ | { |
|
PEG_METHOD_EXIT(); |
throw PEGASUS_CIM_EXCEPTION(CIM_ERR_INVALID_CLASS, | throw PEGASUS_CIM_EXCEPTION(CIM_ERR_INVALID_CLASS, |
request->instanceName.getClassName().getString()); | request->instanceName.getClassName().getString()); |
} | } |
else | else |
{ | { |
throw exception; |
PEG_METHOD_EXIT(); |
|
throw; |
} | } |
} | } |
catch (Exception& exception) |
catch (Exception&) |
{ | { |
PEG_METHOD_EXIT(); | PEG_METHOD_EXIT(); |
throw exception; |
throw; |
} | } |
catch (...) | catch (...) |
{ | { |