geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dwo...@apache.org
Subject svn commit: r550656 - /geronimo/server/trunk/modules/geronimo-transaction/src/main/java/org/apache/geronimo/transaction/manager/TransactionImpl.java
Date Tue, 26 Jun 2007 01:41:49 GMT
Author: dwoods
Date: Mon Jun 25 18:41:48 2007
New Revision: 550656

URL: http://svn.apache.org/viewvc?view=rev&rev=550656
Log:
GERONIMO-3259 Unuseful exception stack trace in TransactionImpl.java

Modified:
    geronimo/server/trunk/modules/geronimo-transaction/src/main/java/org/apache/geronimo/transaction/manager/TransactionImpl.java

Modified: geronimo/server/trunk/modules/geronimo-transaction/src/main/java/org/apache/geronimo/transaction/manager/TransactionImpl.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/modules/geronimo-transaction/src/main/java/org/apache/geronimo/transaction/manager/TransactionImpl.java?view=diff&rev=550656&r1=550655&r2=550656
==============================================================================
--- geronimo/server/trunk/modules/geronimo-transaction/src/main/java/org/apache/geronimo/transaction/manager/TransactionImpl.java
(original)
+++ geronimo/server/trunk/modules/geronimo-transaction/src/main/java/org/apache/geronimo/transaction/manager/TransactionImpl.java
Mon Jun 25 18:41:48 2007
@@ -708,7 +708,8 @@
             } else {
                 // if it isn't a named resource should we really stop all processing here!
                 // Maybe this would be better to handle else where and do we really want
to prevent all processing of transactions?
-                new IllegalStateException("Cannot log transactions unles XAResources are
named! " + committer).printStackTrace();
+                // new IllegalStateException("Cannot log transactions unles XAResources are
named! " + committer).printStackTrace();
+                log.warn("Cannot log transactions as " + committer + " is not a NamedXAResource.");
                 return committer.toString();
             }
         }



Mime
View raw message