qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From grk...@apache.org
Subject svn commit: r979293 - /qpid/trunk/qpid/java/broker/src/main/java/org/apache/qpid/server/handler/BasicGetMethodHandler.java
Date Mon, 26 Jul 2010 14:09:19 GMT
Author: grkvlt
Date: Mon Jul 26 14:09:18 2010
New Revision: 979293

URL: http://svn.apache.org/viewvc?rev=979293&view=rev
Log:
QPID-2661: Throw a NOT_IMPLEMENTED AMQException for 0-10 messages

Modified:
    qpid/trunk/qpid/java/broker/src/main/java/org/apache/qpid/server/handler/BasicGetMethodHandler.java

Modified: qpid/trunk/qpid/java/broker/src/main/java/org/apache/qpid/server/handler/BasicGetMethodHandler.java
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/java/broker/src/main/java/org/apache/qpid/server/handler/BasicGetMethodHandler.java?rev=979293&r1=979292&r2=979293&view=diff
==============================================================================
--- qpid/trunk/qpid/java/broker/src/main/java/org/apache/qpid/server/handler/BasicGetMethodHandler.java
(original)
+++ qpid/trunk/qpid/java/broker/src/main/java/org/apache/qpid/server/handler/BasicGetMethodHandler.java
Mon Jul 26 14:09:18 2010
@@ -141,7 +141,7 @@ public class BasicGetMethodHandler imple
                 else
                 {
                     //TODO Convert AMQP 0-10 message
-                    throw new RuntimeException("Not implemented conversion of 0-10 message");
+                    throw new AMQException(AMQConstant.NOT_IMPLEMENTED, "Not implemented
conversion of 0-10 message", null);
                 }
 
             }



---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:commits-subscribe@qpid.apache.org


Mime
View raw message