diff options
| author | Arnaud Simon <arnaudsimon@apache.org> | 2007-12-17 09:04:23 +0000 |
|---|---|---|
| committer | Arnaud Simon <arnaudsimon@apache.org> | 2007-12-17 09:04:23 +0000 |
| commit | 6b9a9933d5b9c8b385141fb95321a32fc8c22e8c (patch) | |
| tree | 363e424e8923713bc78b38b32926f2f3e9feea7f /qpid/java | |
| parent | 5c887e74228862d11fe4f4e6ebdbd38b0479845e (diff) | |
| download | qpid-python-6b9a9933d5b9c8b385141fb95321a32fc8c22e8c.tar.gz | |
Qpid-708: changed setCleintID to throw the expected exception
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@604799 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/java')
| -rw-r--r-- | qpid/java/client/src/main/java/org/apache/qpid/client/AMQConnection.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qpid/java/client/src/main/java/org/apache/qpid/client/AMQConnection.java b/qpid/java/client/src/main/java/org/apache/qpid/client/AMQConnection.java index af486f9dca..f1318f0f48 100644 --- a/qpid/java/client/src/main/java/org/apache/qpid/client/AMQConnection.java +++ b/qpid/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 |
