GUAC-547: Associate a GuacamoleStatus with all GuacamoleExceptions.

This commit is contained in:
Michael Jumper committed 2014-03-18 16:44:19 -07:00
1 parent 4f3f55d0e0
commit ac288916b8
4 files changed
+35 -1

No files matched your search

@@ -22,6 +22,8 @@
package org.glyptodon.guacamole;
import org.glyptodon.guacamole.protocol.GuacamoleStatus;
/**
* A generic exception thrown when part of the Guacamole API encounters
@@ -62,4 +64,9 @@ public class GuacamoleClientException extends GuacamoleException {
super(cause);
}
@Override
public GuacamoleStatus getStatus() {
return GuacamoleStatus.CLIENT_BAD_REQUEST;
}
}