All Downloads are FREE. Search and download functionalities are using the official Maven repository.

reactivefeign.client.ReactiveFeignException Maven / Gradle / Ivy

package reactivefeign.client;

public class ReactiveFeignException extends RuntimeException {

    public static final String MESSAGE_PATTERN = "Error while running request: %s\n%s";

    private final ReactiveHttpRequest request;

    public ReactiveFeignException(Throwable cause, ReactiveHttpRequest request) {
        super(String.format(MESSAGE_PATTERN, request, cause.getMessage()), cause);
        this.request = request;
    }

    public ReactiveHttpRequest getRequest() {
        return request;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy