activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dej...@apache.org
Subject svn commit: r739966 - /activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/TransportConnection.java
Date Mon, 02 Feb 2009 11:50:30 GMT
Author: dejanb
Date: Mon Feb  2 11:50:29 2009
New Revision: 739966

URL: http://svn.apache.org/viewvc?rev=739966&view=rev
Log:
a bit better error message for https://issues.apache.org/activemq/browse/AMQ-2092

Modified:
    activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/TransportConnection.java

Modified: activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/TransportConnection.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/TransportConnection.java?rev=739966&r1=739965&r2=739966&view=diff
==============================================================================
--- activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/TransportConnection.java
(original)
+++ activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/TransportConnection.java
Mon Feb  2 11:50:29 2009
@@ -176,7 +176,7 @@
                 serviceLock.readLock().lock();
                 try {
                     if (!(o instanceof Command)) {
-                        throw new RuntimeException("Protocol violation - Command corrupted");
+                        throw new RuntimeException("Protocol violation - Command corrupted:
" + o.toString());
                     }
                     Command command = (Command)o;
                     Response response = service(command);



Mime
View raw message