Author: ritchiem
Date: Wed Oct  3 08:15:52 2007
New Revision: 581621

URL: http://svn.apache.org/viewvc?rev=581621&view=rev
Log:
QPID-584 : Fixed issue where ALL errors are presented to client as a connection 
closing error.

Modified:
    
incubator/qpid/branches/M2.1/java/client/src/main/java/org/apache/qpid/client/protocol/AMQProtocolHandler.java

Modified: 
incubator/qpid/branches/M2.1/java/client/src/main/java/org/apache/qpid/client/protocol/AMQProtocolHandler.java
URL: 
http://svn.apache.org/viewvc/incubator/qpid/branches/M2.1/java/client/src/main/java/org/apache/qpid/client/protocol/AMQProtocolHandler.java?rev=581621&r1=581620&r2=581621&view=diff
==============================================================================
--- 
incubator/qpid/branches/M2.1/java/client/src/main/java/org/apache/qpid/client/protocol/AMQProtocolHandler.java
 (original)
+++ 
incubator/qpid/branches/M2.1/java/client/src/main/java/org/apache/qpid/client/protocol/AMQProtocolHandler.java
 Wed Oct  3 08:15:52 2007
@@ -347,9 +347,9 @@
 
                     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 ...


Reply via email to