Package uk.gov.gchq.gaffer.rest.mapper
Class GafferRuntimeExceptionMapper
- java.lang.Object
-
- uk.gov.gchq.gaffer.rest.mapper.GafferRuntimeExceptionMapper
-
- All Implemented Interfaces:
javax.ws.rs.ext.ExceptionMapper<GafferRuntimeException>
@Provider public class GafferRuntimeExceptionMapper extends Object implements javax.ws.rs.ext.ExceptionMapper<GafferRuntimeException>
JerseyExceptionMapper
to be used to handleGafferRuntimeException
s.
-
-
Constructor Summary
Constructors Constructor Description GafferRuntimeExceptionMapper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.Response
toResponse(GafferRuntimeException gre)
-
-
-
Method Detail
-
toResponse
public javax.ws.rs.core.Response toResponse(GafferRuntimeException gre)
- Specified by:
toResponse
in interfacejavax.ws.rs.ext.ExceptionMapper<GafferRuntimeException>
-
-