From 89bfec4dc6c5ef0b23dc89744e22caa16a4216e3 Mon Sep 17 00:00:00 2001 From: Rajith Muditha Attapattu Date: Tue, 5 Feb 2008 02:37:13 +0000 Subject: 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 --- java/common/src/main/java/org/apache/qpidity/ErrorCode.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'java/common/src') 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), -- cgit v1.2.1