GUACAMOLE-504: Clean up getHttpStatusCode().
This commit is contained in:
1 parent
68e101f58a
commit
5239a83acc
1 file changed
+5
-3
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user