summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArnaud Simon <arnaudsimon@apache.org>2007-07-27 16:17:15 +0000
committerArnaud Simon <arnaudsimon@apache.org>2007-07-27 16:17:15 +0000
commit30947b33b0aa8a87a9db42615b3797ceacef3250 (patch)
tree922aaf134769a53fc0d01db13ce27456e077b50c
parent4fd0101067323816ffa4d0a2219995f5bc600e7c (diff)
downloadqpid-python-30947b33b0aa8a87a9db42615b3797ceacef3250.tar.gz
Change for using new QpidException
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@560298 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--qpid/java/client/src/main/java/org/apache/qpid/nclient/api/Connection.java2
-rw-r--r--qpid/java/client/src/main/java/org/apache/qpid/nclient/jms/SessionImpl.java4
2 files changed, 3 insertions, 3 deletions
diff --git a/qpid/java/client/src/main/java/org/apache/qpid/nclient/api/Connection.java b/qpid/java/client/src/main/java/org/apache/qpid/nclient/api/Connection.java
index a02e378b43..6d5f317feb 100644
--- a/qpid/java/client/src/main/java/org/apache/qpid/nclient/api/Connection.java
+++ b/qpid/java/client/src/main/java/org/apache/qpid/nclient/api/Connection.java
@@ -32,7 +32,7 @@ public interface Connection
* Establish the connection with the broker identified by the provided URL.
*
* @param url The URL of the broker.
- * @throws org.apache.qpid.nclient.exception.QpidException If the communication layer fails to connect with the broker.
+ * @throws QpidException If the communication layer fails to connect with the broker.
*/
public void connect(URL url)
throws
diff --git a/qpid/java/client/src/main/java/org/apache/qpid/nclient/jms/SessionImpl.java b/qpid/java/client/src/main/java/org/apache/qpid/nclient/jms/SessionImpl.java
index 483257db88..6432016992 100644
--- a/qpid/java/client/src/main/java/org/apache/qpid/nclient/jms/SessionImpl.java
+++ b/qpid/java/client/src/main/java/org/apache/qpid/nclient/jms/SessionImpl.java
@@ -19,8 +19,8 @@ package org.apache.qpid.nclient.jms;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
-import org.apache.qpid.nclient.exception.QpidException;
import org.apache.qpid.nclient.jms.message.*;
+import org.apache.qpidity.QpidException;
import javax.jms.*;
import javax.jms.IllegalStateException;
@@ -243,7 +243,7 @@ public class SessionImpl implements Session
// Note: this operation makes sure that asynch message processing has returned
_qpidSession.commit();
}
- catch (org.apache.qpidity.QpidException e)
+ catch (QpidException e)
{
throw ExceptionHelper.convertQpidExceptionToJMSException(e);
}