dbertoni    01/06/25 08:16:23

  Modified:    c/src/XPath XPath.cpp
  Log:
  Removed try/catch block now that an exception is being thrown by getVariable().
  
  Revision  Changes    Path
  1.54      +1 -14     xml-xalan/c/src/XPath/XPath.cpp
  
  Index: XPath.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/XPath/XPath.cpp,v
  retrieving revision 1.53
  retrieving revision 1.54
  diff -u -r1.53 -r1.54
  --- XPath.cpp 2001/06/14 19:12:06     1.53
  +++ XPath.cpp 2001/06/25 15:16:18     1.54
  @@ -995,20 +995,7 @@
        const QNameByReference  qname(ns.str(),
                                                                  varName.str());      
 
   
  -     XObjectPtr result;
  -
  -     try
  -     {
  -             result = executionContext.getVariable(qname);
  -     }
  -     catch(...)
  -     {
  -             executionContext.error(TranscodeFromLocalCodePage("Could not get 
variable named ") + varName.str());
  -
  -             throw;
  -     }
  -
  -     return result;
  +     return executionContext.getVariable(qname);
   }
   
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to