summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Ritchie <ritchiem@apache.org>2007-10-03 15:15:52 +0000
committerMartin Ritchie <ritchiem@apache.org>2007-10-03 15:15:52 +0000
commit5e82821be5de97a41fe1f701e47384bf4ada2bb6 (patch)
tree5b327a04d8f6ac24d446d3ce76f2eedbf330cdfa
parent0133aa9d1f0224a7bea9a2684261d8bc09e64dad (diff)
downloadqpid-python-5e82821be5de97a41fe1f701e47384bf4ada2bb6.tar.gz
QPID-584 : Fixed issue where ALL errors are presented to client as a connection closing error.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.1@581621 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--java/client/src/main/java/org/apache/qpid/client/protocol/AMQProtocolHandler.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/client/src/main/java/org/apache/qpid/client/protocol/AMQProtocolHandler.java b/java/client/src/main/java/org/apache/qpid/client/protocol/AMQProtocolHandler.java
index 45c9dc046e..e7ff5afceb 100644
--- a/java/client/src/main/java/org/apache/qpid/client/protocol/AMQProtocolHandler.java
+++ b/java/client/src/main/java/org/apache/qpid/client/protocol/AMQProtocolHandler.java
@@ -347,9 +347,9 @@ public class AMQProtocolHandler extends IoHandlerAdapter
AMQException amqe = new AMQException("Protocol handler error: " + cause, cause);
propagateExceptionToWaiters(amqe);
+ _connection.exceptionReceived(cause);
}
- _connection.exceptionReceived(cause);
}
// FIXME Need to correctly handle other exceptions. Things like ...