(file) Return to ProviderMessageHandler.cpp CVS log (file) (dir) Up to [Pegasus] / pegasus / src / Pegasus / ProviderManager2 / Default

Diff for /pegasus/src/Pegasus/ProviderManager2/Default/ProviderMessageHandler.cpp between version 1.14 and 1.15

version 1.14, 2008/05/28 07:35:16 version 1.15, 2008/06/19 17:57:09
Line 67 
Line 67 
         }                                                              \         }                                                              \
         catch (CIMException& e)                                        \         catch (CIMException& e)                                        \
         {                                                              \         {                                                              \
             PEG_TRACE((TRC_PROVIDERMANAGER, Tracer::LEVEL4,            \              PEG_TRACE((TRC_PROVIDERMANAGER, Tracer::LEVEL1,            \
                 "Provider CIMException: %s",                           \                 "Provider CIMException: %s",                           \
                 (const char*)e.getMessage().getCString()));            \                 (const char*)e.getMessage().getCString()));            \
             handler.setCIMException(e);                                \             handler.setCIMException(e);                                \
         }                                                              \         }                                                              \
         catch (Exception& e)                                           \         catch (Exception& e)                                           \
         {                                                              \         {                                                              \
             PEG_TRACE((TRC_PROVIDERMANAGER, Tracer::LEVEL4,            \              PEG_TRACE((TRC_PROVIDERMANAGER, Tracer::LEVEL1,            \
                 "Provider Exception: %s",                              \                 "Provider Exception: %s",                              \
                 (const char*)e.getMessage().getCString()));            \                 (const char*)e.getMessage().getCString()));            \
             handler.setStatus(                                         \             handler.setStatus(                                         \
Line 84 
Line 84 
         }                                                              \         }                                                              \
         catch (const PEGASUS_STD(exception)& e)                        \         catch (const PEGASUS_STD(exception)& e)                        \
         {                                                              \         {                                                              \
             PEG_TRACE((TRC_PROVIDERMANAGER, Tracer::LEVEL4,            \              PEG_TRACE((TRC_PROVIDERMANAGER, Tracer::LEVEL1,            \
                 "Provider exception: %s", e.what()));                  \                 "Provider exception: %s", e.what()));                  \
             handler.setStatus(CIM_ERR_FAILED, e.what());               \             handler.setStatus(CIM_ERR_FAILED, e.what());               \
         }                                                              \         }                                                              \
         catch (...)                                                    \         catch (...)                                                    \
         {                                                              \         {                                                              \
             PEG_TRACE_CSTRING(TRC_PROVIDERMANAGER, Tracer::LEVEL4,     \              PEG_TRACE_CSTRING(TRC_PROVIDERMANAGER, Tracer::LEVEL1,     \
                 "Provider unknown exception");                         \                 "Provider unknown exception");                         \
             handler.setStatus(CIM_ERR_FAILED, "Unknown error.");       \             handler.setStatus(CIM_ERR_FAILED, "Unknown error.");       \
         }                                                              \         }                                                              \
Line 167 
Line 167 
     }     }
     catch (...)     catch (...)
     {     {
         PEG_TRACE((TRC_DISCARDED_DATA, Tracer::LEVEL2,          PEG_TRACE((TRC_DISCARDED_DATA, Tracer::LEVEL1,
             "Caught exception from provider %s initialize() method.",             "Caught exception from provider %s initialize() method.",
             (const char*)_fullyQualifiedProviderName.getCString()));             (const char*)_fullyQualifiedProviderName.getCString()));
         throw;         throw;
Line 192 
Line 192 
     }     }
     catch (...)     catch (...)
     {     {
         PEG_TRACE((TRC_DISCARDED_DATA, Tracer::LEVEL2,          PEG_TRACE((TRC_DISCARDED_DATA, Tracer::LEVEL1,
             "Caught exception from provider %s terminate() method.",             "Caught exception from provider %s terminate() method.",
             (const char*)_fullyQualifiedProviderName.getCString()));             (const char*)_fullyQualifiedProviderName.getCString()));
         throw;         throw;
Line 305 
Line 305 
     }     }
     catch (CIMException& e)     catch (CIMException& e)
     {     {
         PEG_TRACE_STRING(TRC_PROVIDERMANAGER, Tracer::LEVEL2,          PEG_TRACE_STRING(TRC_PROVIDERMANAGER, Tracer::LEVEL1,
             "CIMException: " + e.getMessage());             "CIMException: " + e.getMessage());
         response = request->buildResponse();         response = request->buildResponse();
         response->cimException = PEGASUS_CIM_EXCEPTION_LANG(         response->cimException = PEGASUS_CIM_EXCEPTION_LANG(
Line 313 
Line 313 
     }     }
     catch (Exception& e)     catch (Exception& e)
     {     {
         PEG_TRACE_STRING(TRC_PROVIDERMANAGER, Tracer::LEVEL2,          PEG_TRACE_STRING(TRC_PROVIDERMANAGER, Tracer::LEVEL1,
             "Exception: " + e.getMessage());             "Exception: " + e.getMessage());
         response = request->buildResponse();         response = request->buildResponse();
         response->cimException = PEGASUS_CIM_EXCEPTION_LANG(         response->cimException = PEGASUS_CIM_EXCEPTION_LANG(
Line 321 
Line 321 
     }     }
     catch (...)     catch (...)
     {     {
         PEG_TRACE_CSTRING(TRC_PROVIDERMANAGER, Tracer::LEVEL2,          PEG_TRACE_CSTRING(TRC_PROVIDERMANAGER, Tracer::LEVEL1,
             "Exception: Unknown");             "Exception: Unknown");
         response = request->buildResponse();         response = request->buildResponse();
         response->cimException = PEGASUS_CIM_EXCEPTION(         response->cimException = PEGASUS_CIM_EXCEPTION(
Line 1634 
Line 1634 
         }         }
         catch (...)         catch (...)
         {         {
             PEG_TRACE((TRC_DISCARDED_DATA, Tracer::LEVEL2,              PEG_TRACE((TRC_DISCARDED_DATA, Tracer::LEVEL1,
                 "Caught exception from provider %s "                 "Caught exception from provider %s "
                     "enableIndications() method.",                     "enableIndications() method.",
                 (const char*)_fullyQualifiedProviderName.getCString()));                 (const char*)_fullyQualifiedProviderName.getCString()));
Line 1687 
Line 1687 
             }             }
             catch (...)             catch (...)
             {             {
                 PEG_TRACE((TRC_DISCARDED_DATA, Tracer::LEVEL2,                  PEG_TRACE((TRC_DISCARDED_DATA, Tracer::LEVEL1,
                     "Caught exception from provider %s "                     "Caught exception from provider %s "
                         "disableIndications() method.",                         "disableIndications() method.",
                     (const char*)_fullyQualifiedProviderName.getCString()));                     (const char*)_fullyQualifiedProviderName.getCString()));


Legend:
Removed from v.1.14  
changed lines
  Added in v.1.15

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2