ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hi...@apache.org
Subject svn commit: r731545 - /ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/eclipse/cpcontainer/IvyResolveJob.java
Date Mon, 05 Jan 2009 12:52:47 GMT
Author: hibou
Date: Mon Jan  5 04:52:47 2009
New Revision: 731545

URL: http://svn.apache.org/viewvc?rev=731545&view=rev
Log:
Improve error logging in case of class not found issues

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

Modified: ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/eclipse/cpcontainer/IvyResolveJob.java
URL: http://svn.apache.org/viewvc/ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/eclipse/cpcontainer/IvyResolveJob.java?rev=731545&r1=731544&r2=731545&view=diff
==============================================================================
--- ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/eclipse/cpcontainer/IvyResolveJob.java
(original)
+++ ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/eclipse/cpcontainer/IvyResolveJob.java
Mon Jan  5 04:52:47 2009
@@ -195,6 +195,9 @@
             this.md = conf.getModuleDescriptor();
         } catch (IvyDEException e) {
             return new Status(IStatus.ERROR, IvyPlugin.ID, IStatus.ERROR, e.getMessage(),
e);
+        } catch (Throwable e) {
+            return new Status(IStatus.ERROR, IvyPlugin.ID, IStatus.ERROR, "Unexpected error
["
+                    + e.getClass().getCanonicalName() + "]: " + e.getMessage(), e);
         }
 
         Thread resolver = new Thread() {



Mime
View raw message