You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by ri...@apache.org on 2008/03/14 18:31:46 UTC

svn commit: r637170 - /incubator/qpid/branches/M2.1/java/client/src/main/java/org/apache/qpid/client/failover/FailoverRetrySupport.java

Author: ritchiem
Date: Fri Mar 14 10:31:44 2008
New Revision: 637170

URL: http://svn.apache.org/viewvc?rev=637170&view=rev
Log:
QPID-855 : Added check for the IllegalStateException and ignore ones from the Noop Operation.

Modified:
    incubator/qpid/branches/M2.1/java/client/src/main/java/org/apache/qpid/client/failover/FailoverRetrySupport.java

Modified: incubator/qpid/branches/M2.1/java/client/src/main/java/org/apache/qpid/client/failover/FailoverRetrySupport.java
URL: http://svn.apache.org/viewvc/incubator/qpid/branches/M2.1/java/client/src/main/java/org/apache/qpid/client/failover/FailoverRetrySupport.java?rev=637170&r1=637169&r2=637170&view=diff
==============================================================================
--- incubator/qpid/branches/M2.1/java/client/src/main/java/org/apache/qpid/client/failover/FailoverRetrySupport.java (original)
+++ incubator/qpid/branches/M2.1/java/client/src/main/java/org/apache/qpid/client/failover/FailoverRetrySupport.java Fri Mar 14 10:31:44 2008
@@ -122,6 +122,13 @@
                 {
                     _log.debug("Failover exception caught during operation: " + e, e);
                 }
+                catch (IllegalStateException e)
+                {
+                    if (!(e.getMessage().startsWith("Fail-over interupted no-op failover support")))
+                    {
+                        throw e;
+                    }
+                }
             }
         }
     }