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