svn commit: r771197 - /ofbiz/branches/release09.04/framework/entity/src/org/ofbiz/entity/util/EntitySaxReader.java

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r771197 - /ofbiz/branches/release09.04/framework/entity/src/org/ofbiz/entity/util/EntitySaxReader.java

jonesde
Author: jonesde
Date: Mon May  4 06:34:19 2009
New Revision: 771197

URL: http://svn.apache.org/viewvc?rev=771197&view=rev
Log:
Applied fix from trunk for revision: 771195
 Small improvement in error message for location parsing

Modified:
    ofbiz/branches/release09.04/framework/entity/src/org/ofbiz/entity/util/EntitySaxReader.java

Modified: ofbiz/branches/release09.04/framework/entity/src/org/ofbiz/entity/util/EntitySaxReader.java
URL: http://svn.apache.org/viewvc/ofbiz/branches/release09.04/framework/entity/src/org/ofbiz/entity/util/EntitySaxReader.java?rev=771197&r1=771196&r2=771197&view=diff
==============================================================================
--- ofbiz/branches/release09.04/framework/entity/src/org/ofbiz/entity/util/EntitySaxReader.java (original)
+++ ofbiz/branches/release09.04/framework/entity/src/org/ofbiz/entity/util/EntitySaxReader.java Mon May  4 06:34:19 2009
@@ -320,8 +320,8 @@
             URL templateUrl = null;
             try {
                 templateUrl = FlexibleLocation.resolveLocation(templatePath.toString());
-            } catch (MalformedURLException e2) {
-                throw new SAXException("Could not find transform template with resource path: " + templatePath);
+            } catch (MalformedURLException e) {
+                throw new SAXException("Could not find transform template with resource path [" + templatePath + "]; error was: " + e.toString());
             }
 
             if (templateUrl == null) {