You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by le...@apache.org on 2010/12/12 21:43:13 UTC
svn commit: r1044918 -
/ofbiz/trunk/framework/webtools/src/org/ofbiz/webtools/WebToolsServices.java
Author: lektran
Date: Sun Dec 12 20:43:13 2010
New Revision: 1044918
URL: http://svn.apache.org/viewvc?rev=1044918&view=rev
Log:
Remove unreachable catch block
Modified:
ofbiz/trunk/framework/webtools/src/org/ofbiz/webtools/WebToolsServices.java
Modified: ofbiz/trunk/framework/webtools/src/org/ofbiz/webtools/WebToolsServices.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/webtools/src/org/ofbiz/webtools/WebToolsServices.java?rev=1044918&r1=1044917&r2=1044918&view=diff
==============================================================================
--- ofbiz/trunk/framework/webtools/src/org/ofbiz/webtools/WebToolsServices.java (original)
+++ ofbiz/trunk/framework/webtools/src/org/ofbiz/webtools/WebToolsServices.java Sun Dec 12 20:43:13 2010
@@ -131,8 +131,6 @@ public class WebToolsServices {
url = isUrl?FlexibleLocation.resolveLocation(filename):UtilURL.fromFilename(filename);
} catch (MalformedURLException mue) {
return ServiceUtil.returnError("ERROR: invalid file name (" + filename + "): " + mue.getMessage());
- } catch (IOException ioe) {
- return ServiceUtil.returnError("ERROR reading file name (" + filename + "): " + ioe.getMessage());
} catch (Exception exc) {
return ServiceUtil.returnError("ERROR: reading file name (" + filename + "): " + exc.getMessage());
}