public class ClientRequestExceptionMapper extends java.lang.Object implements javax.ws.rs.ext.ExceptionMapper<ClientRequestException>
ClientRequestException
thrown from an outgoing request to
another service into a 500 Internal Server Error
response for our client.Constructor and Description |
---|
ClientRequestExceptionMapper() |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
toResponse(ClientRequestException exception) |
public javax.ws.rs.core.Response toResponse(ClientRequestException exception)
toResponse
in interface javax.ws.rs.ext.ExceptionMapper<ClientRequestException>