version 1.6, 2005/11/29 23:12:59
|
version 1.6.4.1, 2006/01/18 17:38:03
|
|
|
{ | { |
} | } |
| |
ContentLanguages SimpleResponseHandler::getLanguages(void) |
ContentLanguageList SimpleResponseHandler::getLanguages(void) |
{ | { |
Logger::put( | Logger::put( |
Logger::STANDARD_LOG, | Logger::STANDARD_LOG, |
|
|
Logger::TRACE, | Logger::TRACE, |
"SimpleResponseHandler: getLanguages()"); | "SimpleResponseHandler: getLanguages()"); |
| |
ContentLanguages langs; |
ContentLanguageList langs; |
| |
try | try |
{ | { |
// Try to get the ContentLanguages out of the OperationContext |
// Try to get the ContentLanguageList out of the |
// in the base ResponseHandler. |
// OperationContext in the base ResponseHandler. |
OperationContext context = getContext(); | OperationContext context = getContext(); |
| |
ContentLanguageListContainer cntr = context.get( | ContentLanguageListContainer cntr = context.get( |
|
|
catch (const Exception &) | catch (const Exception &) |
{ | { |
// The content language container must not exist. | // The content language container must not exist. |
// Return the empty ContentLanguages. |
// Return the empty ContentLanguageList. |
} | } |
| |
return(langs); | return(langs); |