Apache CXF API

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
 E fromResponse(javax.ws.rs.core.Response r)
          Converts Response to checked or runtime Exception
 

Method Detail

fromResponse

E fromResponse(javax.ws.rs.core.Response r)
Converts Response to checked or runtime Exception

Parameters:
r - JAXRS Response
Returns:
mapped exception instance, can be null

Apache CXF API

Apache CXF