You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by db...@apache.org on 2001/06/25 17:16:25 UTC
cvs commit: xml-xalan/c/src/XPath XPath.cpp
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: xalan-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-cvs-help@xml.apache.org