incubator-aries-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mahrw...@apache.org
Subject svn commit: r1021678 - /incubator/aries/trunk/transaction/transaction-blueprint/src/main/java/org/apache/aries/transaction/TxInterceptorImpl.java
Date Tue, 12 Oct 2010 08:47:11 GMT
Author: mahrwald
Date: Tue Oct 12 08:47:11 2010
New Revision: 1021678

URL: http://svn.apache.org/viewvc?rev=1021678&view=rev
Log:
ARIES-442: Downgrade error to warning for discarded exception in the postCallWithException
case.

Modified:
    incubator/aries/trunk/transaction/transaction-blueprint/src/main/java/org/apache/aries/transaction/TxInterceptorImpl.java

Modified: incubator/aries/trunk/transaction/transaction-blueprint/src/main/java/org/apache/aries/transaction/TxInterceptorImpl.java
URL: http://svn.apache.org/viewvc/incubator/aries/trunk/transaction/transaction-blueprint/src/main/java/org/apache/aries/transaction/TxInterceptorImpl.java?rev=1021678&r1=1021677&r2=1021678&view=diff
==============================================================================
--- incubator/aries/trunk/transaction/transaction-blueprint/src/main/java/org/apache/aries/transaction/TxInterceptorImpl.java
(original)
+++ incubator/aries/trunk/transaction/transaction-blueprint/src/main/java/org/apache/aries/transaction/TxInterceptorImpl.java
Tue Oct 12 08:47:11 2010
@@ -63,7 +63,8 @@ public class TxInterceptorImpl implement
          catch (Exception e)
          {
            // we do not throw the exception since there already is one, but we need to log
it
-           LOGGER.error("An exception has occured.", e);
+           LOGGER.warn("An exception occurred during transaction clean up, which will be
discared in favour of an exception" +
+           		" already thrown.", e);
          }
        } else {
          // TODO: what now?



Mime
View raw message