version 1.14, 2008/05/28 07:35:16
|
version 1.15, 2008/06/19 17:57:09
|
|
|
} \ | } \ |
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( \ |
|
|
} \ | } \ |
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."); \ |
} \ | } \ |
|
|
} | } |
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; |
|
|
} | } |
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; |
|
|
} | } |
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( |
|
|
} | } |
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( |
|
|
} | } |
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( |
|
|
} | } |
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())); |
|
|
} | } |
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())); |