summaryrefslogtreecommitdiff
path: root/java/client/src
diff options
context:
space:
mode:
authorArnaud Simon <arnaudsimon@apache.org>2007-12-17 09:04:23 +0000
committerArnaud Simon <arnaudsimon@apache.org>2007-12-17 09:04:23 +0000
commite9c63fe156f4f06b9f03472e222476baf21df733 (patch)
tree19552568150aa34ea8435430d5772f92db780ae6 /java/client/src
parent74f5716fc2a614bb456374948457db2750a2f716 (diff)
downloadqpid-python-e9c63fe156f4f06b9f03472e222476baf21df733.tar.gz
Qpid-708: changed setCleintID to throw the expected exception
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@604799 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/client/src')
-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 af486f9dca..f1318f0f48 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