version 1.10, 2005/03/24 22:44:29
|
version 1.12, 2006/01/10 19:41:20
|
|
|
| |
void OperationResponseHandler::setStatus( | void OperationResponseHandler::setStatus( |
const Uint32 code, | const Uint32 code, |
const ContentLanguages & langs, |
const ContentLanguageList & langs, |
const String & message) | const String & message) |
{ | { |
_response->cimException = | _response->cimException = |
|
|
throw CIMException(CIM_ERR_FAILED, message); | throw CIMException(CIM_ERR_FAILED, message); |
} | } |
| |
|
if(SimpleObjectPathResponseHandler::size() != 0) |
|
{ |
|
MessageLoaderParms message( |
|
"Server.OperationResponseHandler.TOO_MANY_OBJECTS_DELIVERED", |
|
"Too many objects delivered."); |
|
|
|
throw CIMException(CIM_ERR_FAILED, message); |
|
} |
|
|
SimpleObjectPathResponseHandler::deliver(cimObjectPath); | SimpleObjectPathResponseHandler::deliver(cimObjectPath); |
} | } |
| |
|
|
} | } |
| |
// l10n | // l10n |
ContentLanguages contentLangs; |
ContentLanguageList contentLangs; |
| |
try | try |
{ | { |