lenya-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jwka...@apache.org
Subject svn commit: r167886 - /lenya/trunk/src/java/org/apache/lenya/cms/usecase/AbstractUsecase.java
Date Tue, 03 May 2005 09:11:24 GMT
Author: jwkaltz
Date: Tue May  3 02:11:23 2005
New Revision: 167886

URL: http://svn.apache.org/viewcvs?rev=167886&view=rev
Log:
always throw exception in error case

Modified:
    lenya/trunk/src/java/org/apache/lenya/cms/usecase/AbstractUsecase.java

Modified: lenya/trunk/src/java/org/apache/lenya/cms/usecase/AbstractUsecase.java
URL: http://svn.apache.org/viewcvs/lenya/trunk/src/java/org/apache/lenya/cms/usecase/AbstractUsecase.java?rev=167886&r1=167885&r2=167886&view=diff
==============================================================================
--- lenya/trunk/src/java/org/apache/lenya/cms/usecase/AbstractUsecase.java (original)
+++ lenya/trunk/src/java/org/apache/lenya/cms/usecase/AbstractUsecase.java Tue May  3 02:11:23
2005
@@ -256,9 +256,7 @@
             exception = e;
             getLogger().error(e.getMessage(), e);
             addErrorMessage(e.getMessage() + " - Please consult the logfiles.");
-            if (getLogger().isDebugEnabled()) {
-                throw new UsecaseException(e);
-            }
+            throw new UsecaseException(e);
         } finally {
             try {
                 if (getErrorMessages().isEmpty() && exception == null) {



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org


Mime
View raw message