continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tryg...@apache.org
Subject svn commit: r225222 - /maven/continuum/branches/trygvis-test/continuum-core/src/main/java/org/apache/maven/continuum/DefaultContinuum.java
Date Tue, 26 Jul 2005 03:02:27 GMT
Author: trygvis
Date: Mon Jul 25 20:02:24 2005
New Revision: 225222

URL: http://svn.apache.org/viewcvs?rev=225222&view=rev
Log:
o When the exception is a object not found exception, don't log the exception.

Modified:
    maven/continuum/branches/trygvis-test/continuum-core/src/main/java/org/apache/maven/continuum/DefaultContinuum.java

Modified: maven/continuum/branches/trygvis-test/continuum-core/src/main/java/org/apache/maven/continuum/DefaultContinuum.java
URL: http://svn.apache.org/viewcvs/maven/continuum/branches/trygvis-test/continuum-core/src/main/java/org/apache/maven/continuum/DefaultContinuum.java?rev=225222&r1=225221&r2=225222&view=diff
==============================================================================
--- maven/continuum/branches/trygvis-test/continuum-core/src/main/java/org/apache/maven/continuum/DefaultContinuum.java
(original)
+++ maven/continuum/branches/trygvis-test/continuum-core/src/main/java/org/apache/maven/continuum/DefaultContinuum.java
Mon Jul 25 20:02:24 2005
@@ -1001,6 +1001,11 @@
 
     private ContinuumException logAndCreateException( String message, Throwable cause )
     {
+        if ( cause instanceof ContinuumObjectNotFoundException )
+        {
+            return new ContinuumException( "No such object.", cause );
+        }
+
         getLogger().error( message, cause );
 
         return new ContinuumException( message, cause );



Mime
View raw message