com.tapstream.sdk.errors.UnrecoverableApiException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of tapstream-core Show documentation
Show all versions of tapstream-core Show documentation
This library contains the building blocks for a Tapstream Java SDK
package com.tapstream.sdk.errors;
import com.tapstream.sdk.http.HttpResponse;
public class UnrecoverableApiException extends ApiException {
final private HttpResponse response;
public UnrecoverableApiException(HttpResponse response) {
this.response = response;
}
public UnrecoverableApiException(HttpResponse response, String message) {
super(message);
this.response = response;
}
public UnrecoverableApiException(HttpResponse response, String message, Throwable cause) {
super(message, cause);
this.response = response;
}
public UnrecoverableApiException(HttpResponse response, Throwable cause) {
super(cause);
this.response = response;
}
public UnrecoverableApiException(HttpResponse response, String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) {
super(message, cause, enableSuppression, writableStackTrace);
this.response = response;
}
public HttpResponse getHttpResponse(){
return response;
}
@Override
public String toString() {
return "UnrecoverableApiException{" +
"response=" + response +
'}';
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy