diff --git a/extensions/resteasy-reactive/rest-client-reactive/runtime/src/main/java/io/quarkus/rest/client/reactive/runtime/DefaultRestClientReactiveExceptionMapper.java b/extensions/resteasy-reactive/rest-client-reactive/runtime/src/main/java/io/quarkus/rest/client/reactive/runtime/DefaultRestClientReactiveExceptionMapper.java deleted file mode 100644 index c4006a85cd45b..0000000000000 --- a/extensions/resteasy-reactive/rest-client-reactive/runtime/src/main/java/io/quarkus/rest/client/reactive/runtime/DefaultRestClientReactiveExceptionMapper.java +++ /dev/null @@ -1,27 +0,0 @@ -package io.quarkus.rest.client.reactive.runtime; - -import javax.ws.rs.WebApplicationException; -import javax.ws.rs.core.MultivaluedMap; -import javax.ws.rs.core.Response; - -import org.eclipse.microprofile.rest.client.ext.ResponseExceptionMapper; - -public class DefaultRestClientReactiveExceptionMapper implements ResponseExceptionMapper { - - public Throwable toThrowable(Response response) { - try { - response.bufferEntity(); - } catch (Exception var3) { - } - - return new WebApplicationException("Unknown error, status code " + response.getStatus(), response); - } - - public boolean handles(int status, MultivaluedMap headers) { - return status >= 400; - } - - public int getPriority() { - return Integer.MAX_VALUE; - } -}