GUACAMOLE-208: Define and document missing RESOURCE_CLOSED status code.

Project: http://git-wip-us.apache.org/repos/asf/incubator-guacamole-client/repo
Commit: 
http://git-wip-us.apache.org/repos/asf/incubator-guacamole-client/commit/3835eaef
Tree: 
http://git-wip-us.apache.org/repos/asf/incubator-guacamole-client/tree/3835eaef
Diff: 
http://git-wip-us.apache.org/repos/asf/incubator-guacamole-client/diff/3835eaef

Branch: refs/heads/master
Commit: 3835eaef472e8657f039005c27161da607096267
Parents: bc97fc8
Author: Michael Jumper <[email protected]>
Authored: Sat Feb 11 14:03:20 2017 -0800
Committer: Michael Jumper <[email protected]>
Committed: Wed Feb 15 21:24:53 2017 -0800

----------------------------------------------------------------------
 .../java/org/apache/guacamole/protocol/GuacamoleStatus.java    | 6 ++++++
 1 file changed, 6 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-guacamole-client/blob/3835eaef/guacamole-common/src/main/java/org/apache/guacamole/protocol/GuacamoleStatus.java
----------------------------------------------------------------------
diff --git 
a/guacamole-common/src/main/java/org/apache/guacamole/protocol/GuacamoleStatus.java
 
b/guacamole-common/src/main/java/org/apache/guacamole/protocol/GuacamoleStatus.java
index 56ab2ef..88439e7 100644
--- 
a/guacamole-common/src/main/java/org/apache/guacamole/protocol/GuacamoleStatus.java
+++ 
b/guacamole-common/src/main/java/org/apache/guacamole/protocol/GuacamoleStatus.java
@@ -72,6 +72,12 @@ public enum GuacamoleStatus {
     RESOURCE_CONFLICT(409, 1008, 0x0205),
 
     /**
+     * The operation could not be performed as the requested resource is now
+     * closed.
+     */
+    RESOURCE_CLOSED(404, 1002, 0x0206),
+
+    /**
      * The operation could not be performed because the upstream server does
      * not appear to exist.
      */

Reply via email to