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:34:20 UTC

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

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