version 1.27, 2008/08/14 17:30:45
|
version 1.28, 2008/08/14 17:44:29
|
|
|
| |
try | try |
{ | { |
_mutex->timed_lock(_MUTEX_TIMEOUT); |
if (!_mutex->timed_lock(_MUTEX_TIMEOUT)) |
} |
|
catch (TimeOut&) |
|
{ | { |
throw PEGASUS_CIM_EXCEPTION_L(CIM_ERR_FAILED, | throw PEGASUS_CIM_EXCEPTION_L(CIM_ERR_FAILED, |
MessageLoaderParms( | MessageLoaderParms( |
|
|
"Timed out while attempting to perform the requested " | "Timed out while attempting to perform the requested " |
"operation. Try the operation again.")); | "operation. Try the operation again.")); |
} | } |
|
} |
catch (WaitFailed&) | catch (WaitFailed&) |
{ | { |
|
// ATTN: This is an error case, not a timeout scenario |
throw PEGASUS_CIM_EXCEPTION_L(CIM_ERR_FAILED, | throw PEGASUS_CIM_EXCEPTION_L(CIM_ERR_FAILED, |
MessageLoaderParms( | MessageLoaderParms( |
"Security.UserManager.UserFileHandler.TIMEOUT", | "Security.UserManager.UserFileHandler.TIMEOUT", |