diff options
author | Martin Ritchie <ritchiem@apache.org> | 2008-03-14 17:31:44 +0000 |
---|---|---|
committer | Martin Ritchie <ritchiem@apache.org> | 2008-03-14 17:31:44 +0000 |
commit | 8d4c9d65ff592a7605dc22d4c696f745417d562e (patch) | |
tree | bbd7a690c9c5d22ff72da270bf5a3e40a35945b2 | |
parent | 81b10257e5507fb9c338cd756c97c463f22905b5 (diff) | |
download | qpid-python-8d4c9d65ff592a7605dc22d4c696f745417d562e.tar.gz |
QPID-855 : Added check for the IllegalStateException and ignore ones from the Noop Operation.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.1@637170 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | java/client/src/main/java/org/apache/qpid/client/failover/FailoverRetrySupport.java | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/java/client/src/main/java/org/apache/qpid/client/failover/FailoverRetrySupport.java b/java/client/src/main/java/org/apache/qpid/client/failover/FailoverRetrySupport.java index 120a07f0fc..e756d7baf9 100644 --- a/java/client/src/main/java/org/apache/qpid/client/failover/FailoverRetrySupport.java +++ b/java/client/src/main/java/org/apache/qpid/client/failover/FailoverRetrySupport.java @@ -122,6 +122,13 @@ public class FailoverRetrySupport<T, E extends Exception> implements FailoverSup {
_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;
+ }
+ }
}
}
}
|