public interface ResponseExceptionMapper<T extends java.lang.Throwable>
| Modifier and Type | Field and Description | 
|---|---|
| static int | DEFAULT_PRIORITY | 
| Modifier and Type | Method and Description | 
|---|---|
| default int | getPriority()The priority of this mapper. | 
| default boolean | handles(int status,
       <any> headers)Whether or not this mapper will be used for the given response. | 
| T | toThrowable(Response response)Converts a given Response into a Throwable. | 
T toThrowable(Response response)
response - the JAX-RS response processed from the underlying clientdefault boolean handles(int status,
                        <any> headers)
status - the response status code indicating the HTTP responseheaders - the headers from the HTTP responsedefault int getPriority()
Priority annotation's value as the priority. If
 no annotation is present, it uses a default priority of Priorities#USER.