diff options
author | Rajith Muditha Attapattu <rajith@apache.org> | 2007-07-27 14:38:59 +0000 |
---|---|---|
committer | Rajith Muditha Attapattu <rajith@apache.org> | 2007-07-27 14:38:59 +0000 |
commit | 302ff4e537cd1b6335b09fe915f6f36c0c81b99d (patch) | |
tree | 54e94591c990e2c21c9f4d9f920e8f064dc1b2c2 | |
parent | cb7695e6e369b626fd643c9fcf47e0b2f84a3c2b (diff) | |
download | qpid-python-302ff4e537cd1b6335b09fe915f6f36c0c81b99d.tar.gz |
moved the QpidException to common from client
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@560250 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | qpid/java/client/src/main/java/org/apache/qpid/nclient/api/Session.java | 7 | ||||
-rw-r--r-- | qpid/java/common/src/main/java/org/apache/qpidity/QpidException.java (renamed from qpid/java/client/src/main/java/org/apache/qpid/nclient/exception/QpidException.java) | 3 |
2 files changed, 6 insertions, 4 deletions
diff --git a/qpid/java/client/src/main/java/org/apache/qpid/nclient/api/Session.java b/qpid/java/client/src/main/java/org/apache/qpid/nclient/api/Session.java index 2a68297df4..dbe9c739a9 100644 --- a/qpid/java/client/src/main/java/org/apache/qpid/nclient/api/Session.java +++ b/qpid/java/client/src/main/java/org/apache/qpid/nclient/api/Session.java @@ -45,7 +45,7 @@ public interface Session * @throws QpidException If the communication layer fails to close this session or if an internal error happens * when closing this session resources. . */ - public void close() + public void sessionClose() throws QpidException; @@ -55,7 +55,7 @@ public interface Session * * @throws QpidException If the communication layer fails to suspend this session */ - public void suspend() + public void sessionSuspend() throws QpidException; @@ -66,7 +66,8 @@ public interface Session * * @throws QpidException If the communication layer fails to unsuspend this session */ - public void unsuspend() + public void sessionUnsuspend() + throws QpidException; diff --git a/qpid/java/client/src/main/java/org/apache/qpid/nclient/exception/QpidException.java b/qpid/java/common/src/main/java/org/apache/qpidity/QpidException.java index c2a70f705f..4ab99b677f 100644 --- a/qpid/java/client/src/main/java/org/apache/qpid/nclient/exception/QpidException.java +++ b/qpid/java/common/src/main/java/org/apache/qpidity/QpidException.java @@ -15,7 +15,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.qpid.nclient.exception; +package org.apache.qpidity; /** * Created by Arnaud Simon @@ -56,3 +56,4 @@ public class QpidException extends Exception return _errorCode; } } + |