cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vgritse...@apache.org
Subject svn commit: r501915 - /cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/components/store/impl/StoreJanitorImpl.java
Date Wed, 31 Jan 2007 17:27:33 GMT
Author: vgritsenko
Date: Wed Jan 31 09:27:31 2007
New Revision: 501915

URL: http://svn.apache.org/viewvc?view=rev&rev=501915
Log:
2.1 != 2.2

Modified:
    cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/components/store/impl/StoreJanitorImpl.java

Modified: cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/components/store/impl/StoreJanitorImpl.java
URL: http://svn.apache.org/viewvc/cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/components/store/impl/StoreJanitorImpl.java?view=diff&rev=501915&r1=501914&r2=501915
==============================================================================
--- cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/components/store/impl/StoreJanitorImpl.java
(original)
+++ cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/components/store/impl/StoreJanitorImpl.java
Wed Jan 31 09:27:31 2007
@@ -139,8 +139,8 @@
         }
 
         if (!(this.freeingAlgorithm.equals(ALG_ROUND_ROBIN) || this.freeingAlgorithm.equals(ALG_ALL_STORES)))
{
-            throw new Exception("StoreJanitorImpl freeingAlgorithm, has to be 'round-robin'
or 'all-stores'. '" 
-                    + this.freeingAlgorithm + "' is not supported.");
+            throw new ParameterException("StoreJanitorImpl freeingAlgorithm, has to be 'round-robin'
or 'all-stores'. '" +
+                                         this.freeingAlgorithm + "' is not supported.");
         }
 
         this.fraction = percent / 100.0D;



Mime
View raw message