From 5e82821be5de97a41fe1f701e47384bf4ada2bb6 Mon Sep 17 00:00:00 2001 From: Martin Ritchie Date: Wed, 3 Oct 2007 15:15:52 +0000 Subject: 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 --- .../main/java/org/apache/qpid/client/protocol/AMQProtocolHandler.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'java/client/src/main') 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 ... -- cgit v1.2.1