svn commit: r771195 - /ofbiz/trunk/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: r771195 - /ofbiz/trunk/framework/entity/src/org/ofbiz/entity/util/EntitySaxReader.java

jonesde
Author: jonesde
Date: Mon May  4 06:29:36 2009
New Revision: 771195

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

Modified:
    ofbiz/trunk/framework/entity/src/org/ofbiz/entity/util/EntitySaxReader.java

Modified: ofbiz/trunk/framework/entity/src/org/ofbiz/entity/util/EntitySaxReader.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/entity/src/org/ofbiz/entity/util/EntitySaxReader.java?rev=771195&r1=771194&r2=771195&view=diff
==============================================================================
--- ofbiz/trunk/framework/entity/src/org/ofbiz/entity/util/EntitySaxReader.java (original)
+++ ofbiz/trunk/framework/entity/src/org/ofbiz/entity/util/EntitySaxReader.java Mon May  4 06:29:36 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) {