summaryrefslogtreecommitdiff
path: root/java/common
diff options
context:
space:
mode:
authorRajith Muditha Attapattu <rajith@apache.org>2008-02-05 02:37:13 +0000
committerRajith Muditha Attapattu <rajith@apache.org>2008-02-05 02:37:13 +0000
commit89bfec4dc6c5ef0b23dc89744e22caa16a4216e3 (patch)
tree94e7e23538214b5f868cf7bf12a1c1938fab0d4c /java/common
parent554980543c9134c84b687090fc86090debb5ce36 (diff)
downloadqpid-python-89bfec4dc6c5ef0b23dc89744e22caa16a4216e3.tar.gz
Added code to connect the network error exceptions to the JMS Exception listener.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@618519 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/common')
-rw-r--r--java/common/src/main/java/org/apache/qpidity/ErrorCode.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/java/common/src/main/java/org/apache/qpidity/ErrorCode.java b/java/common/src/main/java/org/apache/qpidity/ErrorCode.java
index 3f6308622a..4ff6939139 100644
--- a/java/common/src/main/java/org/apache/qpidity/ErrorCode.java
+++ b/java/common/src/main/java/org/apache/qpidity/ErrorCode.java
@@ -4,7 +4,8 @@ public enum ErrorCode
{
//Qpid specific - for the time being
UNDEFINED(1,"undefined",true),
- MESSAGE_REJECTED(1,"message_rejected",true),
+ MESSAGE_REJECTED(2,"message_rejected",true),
+ CONNECTION_ERROR(3,"connection was closed",true),
//This might change in the spec, the error class is not applicable
NO_ERROR(200,"reply-success",true),