io.elastic.sailor.UnexpectedStatusCodeException Maven / Gradle / Ivy
package io.elastic.sailor;
public class UnexpectedStatusCodeException extends RuntimeException {
private final int statusCode;
public UnexpectedStatusCodeException(final int statusCode) {
super(String.format("Got %s response", statusCode));
this.statusCode = statusCode;
}
public int getStatusCode() {
return this.statusCode;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy