mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-05 20:57:40 +00:00
GUACAMOLE-504: Clean up getHttpStatusCode().
This commit is contained in:
@@ -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