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

Diff for /pegasus/src/Pegasus/Server/CIMOperationRequestDispatcher.cpp between version 1.225 and 1.226

version 1.225, 2005/04/01 21:47:14 version 1.226, 2005/04/22 22:01:43
Line 246 
Line 246 
         {         {
                 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",
Line 257 
Line 258 
                 }                 }
                 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 ...",
Line 1670 
Line 1672 
        {        {
            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)
        {        {
Line 6355 
Line 6357 
                                 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 (...)
                 {                 {
Line 6474 
Line 6476 
    }    }
    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 (...)
    {    {


Legend:
Removed from v.1.225  
changed lines
  Added in v.1.226

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2