Package uk.gov.gchq.gaffer.rest.mapper
Class WebApplicationExceptionMapper
- java.lang.Object
-
- uk.gov.gchq.gaffer.rest.mapper.WebApplicationExceptionMapper
-
- All Implemented Interfaces:
javax.ws.rs.ext.ExceptionMapper<javax.ws.rs.WebApplicationException>
@Provider public class WebApplicationExceptionMapper extends Object implements javax.ws.rs.ext.ExceptionMapper<javax.ws.rs.WebApplicationException>
JerseyExceptionMapper
used to handle internalWebApplicationException
s thrown by the Jersey framework.
-
-
Constructor Summary
Constructors Constructor Description WebApplicationExceptionMapper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.Response
toResponse(javax.ws.rs.WebApplicationException ex)
-