Author: jonesde
Date: Mon May 4 06:34:19 2009
New Revision: 771197
URL:
http://svn.apache.org/viewvc?rev=771197&view=revLog:
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) {