continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From car...@apache.org
Subject svn commit: r431940 - /maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/DefaultContinuum.java
Date Wed, 16 Aug 2006 16:35:39 GMT
Author: carlos
Date: Wed Aug 16 09:35:39 2006
New Revision: 431940

URL: http://svn.apache.org/viewvc?rev=431940&view=rev
Log:
[CONTINUUM-818] ContinuumObjectNotFoundException is thrown by the buildResult.action if a
project isn't built yet.

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

Modified: maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/DefaultContinuum.java
URL: http://svn.apache.org/viewvc/maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/DefaultContinuum.java?rev=431940&r1=431939&r2=431940&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/DefaultContinuum.java
(original)
+++ maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/DefaultContinuum.java
Wed Aug 16 09:35:39 2006
@@ -623,6 +623,10 @@
         {
             buildResults = new ArrayList( store.getProjectWithBuilds( projectId ).getBuildResults()
);
         }
+        catch ( ContinuumObjectNotFoundException e )
+        {
+            return Collections.EMPTY_LIST;
+        }
         catch ( ContinuumStoreException e )
         {
             throw logAndCreateException( "Exception while getting build results for project.",
e );



Mime
View raw message