Package org.apache.cxf.jaxrs.client
Interface ResponseExceptionMapper<E extends Throwable>
public interface ResponseExceptionMapper<E extends Throwable>
Converts Response to checked or runtime Exception
-
Method Summary
Modifier and TypeMethodDescriptionfromResponse(jakarta.ws.rs.core.Response r) Converts Response to checked or runtime Exception
-
Method Details
-
fromResponse
Converts Response to checked or runtime Exception- Parameters:
r- JAXRS Response- Returns:
- mapped exception instance, can be null
-