GUACAMOLE-504: Clean up getHttpStatusCode().

This commit is contained in:
Nick Couchman
2018-02-08 09:32:04 -05:00
parent 68e101f58a
commit 5239a83acc

View File

@@ -70,12 +70,14 @@ public class GuacamoleException extends Exception {
}
/**
* Returns the numeric HTTP status code associated with this exception.
* Returns the most applicable HTTP status code that can be associated
* with this exception.
*
* @return
* The numeric HTTP status code associated with this exception.
* An integer representing the most applicable HTTP status code
* associated with this exception.
*/
public Integer getHttpStatusCode() {
public int getHttpStatusCode() {
return getStatus().getHttpStatusCode();
}