We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1213bfa commit 5d45a37Copy full SHA for 5d45a37
src/main/java/fr/rabian/ovhApi/core/utils/NOKResponseException.java
@@ -6,7 +6,15 @@
6
* @author Adrien Rabian
7
*/
8
public class NOKResponseException extends IOException {
9
+
10
+ private int responseCode;
11
12
public NOKResponseException(int responseCode) {
13
super("HTTP response code " + responseCode + " encountered.");
14
+ this.responseCode = responseCode;
15
+ }
16
17
+ public int getResponseCode() {
18
+ return responseCode;
19
}
20
0 commit comments