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

Diff for /pegasus/src/Pegasus/ProviderManager2/SimpleResponseHandler.cpp between version 1.8 and 1.9

version 1.8, 2006/01/30 16:18:01 version 1.9, 2006/07/21 18:44:08
Line 99 
Line 99 
  
         ContentLanguageList langs;         ContentLanguageList langs;
  
     try  
         {  
                 // Try to get the ContentLanguageList out of the                 // Try to get the ContentLanguageList out of the
                 // OperationContext in the base ResponseHandler.                 // OperationContext in the base ResponseHandler.
                 OperationContext context = getContext();                 OperationContext context = getContext();
  
         ContentLanguageListContainer cntr = context.get(      if(context.contains(ContentLanguageListContainer::NAME))
             ContentLanguageListContainer::NAME);  
   
         langs = cntr.getLanguages();  
         }  
         catch (const Exception &)  
         {         {
                 // The content language container must not exist.          ContentLanguageListContainer cntr =
                 // Return the empty ContentLanguageList.              context.get(ContentLanguageListContainer::NAME);
           langs = cntr.getLanguages();
         }         }
  
         return(langs);      return langs;
 } }
  
 void SimpleResponseHandler::send(Boolean isComplete) void SimpleResponseHandler::send(Boolean isComplete)


Legend:
Removed from v.1.8  
changed lines
  Added in v.1.9

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2