Author: xavier
Date: Wed Dec 19 07:02:17 2007
New Revision: 605566

URL: http://svn.apache.org/viewvc?rev=605566&view=rev
Log:
fix error message

Modified:
    
ant/ivy/ivyde/trunk/src/java/org/apache/ivyde/eclipse/cpcontainer/IvyClasspathContainer.java

Modified: 
ant/ivy/ivyde/trunk/src/java/org/apache/ivyde/eclipse/cpcontainer/IvyClasspathContainer.java
URL: 
http://svn.apache.org/viewvc/ant/ivy/ivyde/trunk/src/java/org/apache/ivyde/eclipse/cpcontainer/IvyClasspathContainer.java?rev=605566&r1=605565&r2=605566&view=diff
==============================================================================
--- 
ant/ivy/ivyde/trunk/src/java/org/apache/ivyde/eclipse/cpcontainer/IvyClasspathContainer.java
 (original)
+++ 
ant/ivy/ivyde/trunk/src/java/org/apache/ivyde/eclipse/cpcontainer/IvyClasspathContainer.java
 Wed Dec 19 07:02:17 2007
@@ -237,8 +237,8 @@
                         Message.error(errorMsg);
                         status[0] = new Status(Status.ERROR, IvyPlugin.ID, 
Status.ERROR, errorMsg, e);
                         return;
-                    } catch (IOException e) {
-                        String errorMsg = "Error while resolving the artifacts 
for " + _ivyXmlFile + "\n" + e.getMessage();
+                    } catch (Exception e) {
+                        String errorMsg = "Error while resolving dependencies 
for " + _ivyXmlFile + "\n" + e.getMessage();
                         Message.error(errorMsg);
                         status[0] = new Status(Status.ERROR, IvyPlugin.ID, 
Status.ERROR, errorMsg, e);
                         return;


Reply via email to