continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eveni...@apache.org
Subject svn commit: r326979 - /maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/scm/DefaultContinuumScm.java
Date Thu, 20 Oct 2005 19:14:15 GMT
Author: evenisse
Date: Thu Oct 20 12:14:11 2005
New Revision: 326979

URL: http://svn.apache.org/viewcvs?rev=326979&view=rev
Log:
[CONTINUUM-353] Fix project build when scm providers throw IllegalStateException

Modified:
    maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/scm/DefaultContinuumScm.java

Modified: maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/scm/DefaultContinuumScm.java
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/scm/DefaultContinuumScm.java?rev=326979&r1=326978&r2=326979&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/scm/DefaultContinuumScm.java
(original)
+++ maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/scm/DefaultContinuumScm.java
Thu Oct 20 12:14:11 2005
@@ -142,6 +142,10 @@
         {
             throw new ContinuumScmException( "Cannot checkout sources.", e );
         }
+        catch ( Exception e )
+        {
+            throw new ContinuumScmException( "Cannot checkout sources.", e );
+        }
     }
 
     /**
@@ -230,6 +234,10 @@
         catch ( ScmException ex )
         {
             throw new ContinuumScmException( "Error while update sources.", ex );
+        }
+        catch ( Exception e )
+        {
+            throw new ContinuumScmException( "Cannot checkout sources.", e );
         }
     }
 



Mime
View raw message