com.recombee.api_client.exceptions.ApiTimeoutException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of api-client Show documentation
Show all versions of api-client Show documentation
A client library for easy use of the Recombee recommendation API
The newest version!
package com.recombee.api_client.exceptions;
import com.recombee.api_client.api_requests.Request;
/**
* Exception thrown when a request is not processed within the timeout
*/
public class ApiTimeoutException extends ApiException {
/**
* Request that timed out
*/
Request request;
public ApiTimeoutException(Request request) {
super(String.format("ApiTimeout: client did not get response within %s ms" , request.getTimeout()));
this.request = request;
}
public Request getRequest() {
return request;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy