diff options
| author | Rajith Muditha Attapattu <rajith@apache.org> | 2008-02-05 02:37:13 +0000 |
|---|---|---|
| committer | Rajith Muditha Attapattu <rajith@apache.org> | 2008-02-05 02:37:13 +0000 |
| commit | cd5a66bba5e6f7a066e26f30652c2f6a207a29c7 (patch) | |
| tree | 3153c8356faa183d69227f3d89e206628d4022e1 /qpid/java/common/src | |
| parent | 9446ef5783e656ef9508a0c2ebdeb7c72bce362c (diff) | |
| download | qpid-python-cd5a66bba5e6f7a066e26f30652c2f6a207a29c7.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@618519 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/java/common/src')
| -rw-r--r-- | qpid/java/common/src/main/java/org/apache/qpidity/ErrorCode.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/qpid/java/common/src/main/java/org/apache/qpidity/ErrorCode.java b/qpid/java/common/src/main/java/org/apache/qpidity/ErrorCode.java index 3f6308622a..4ff6939139 100644 --- a/qpid/java/common/src/main/java/org/apache/qpidity/ErrorCode.java +++ b/qpid/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), |
