summaryrefslogtreecommitdiff
path: root/java
diff options
context:
space:
mode:
authorArnaud Simon <arnaudsimon@apache.org>2007-11-20 13:41:05 +0000
committerArnaud Simon <arnaudsimon@apache.org>2007-11-20 13:41:05 +0000
commitd7a0b275db74b4c1d3b5d054a4d221e026cf77b0 (patch)
treec6618e2c9803c4680a864fc7060fbf3794537396 /java
parent4f4f52e6539e522a9d50679365fa01b9824b94af (diff)
downloadqpid-python-d7a0b275db74b4c1d3b5d054a4d221e026cf77b0.tar.gz
Removed exception thrown by setClientID
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@596660 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java')
-rw-r--r--java/client/src/main/java/org/apache/qpid/client/AMQConnection.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/client/src/main/java/org/apache/qpid/client/AMQConnection.java b/java/client/src/main/java/org/apache/qpid/client/AMQConnection.java
index f1318f0f48..af486f9dca 100644
--- a/java/client/src/main/java/org/apache/qpid/client/AMQConnection.java
+++ b/java/client/src/main/java/org/apache/qpid/client/AMQConnection.java
@@ -580,7 +580,7 @@ public class AMQConnection extends Closeable implements Connection, QueueConnect
// in AMQP it is not possible to change the client ID. If one is not specified
// upon connection construction, an id is generated automatically. Therefore
// we can always throw an exception.
- throw new IllegalStateException("Client name cannot be changed after being set");
+ // throw new IllegalStateException("Client name cannot be changed after being set");
}
public ConnectionMetaData getMetaData() throws JMSException