You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by jo...@apache.org on 2009/05/04 08:29:39 UTC

svn commit: r771195 - /ofbiz/trunk/framework/entity/src/org/ofbiz/entity/util/EntitySaxReader.java

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) {