Class RequestIdNotFoundExceptionMapper
- java.lang.Object
-
- fi.tut.mei.matchmaking.matching_ws.rest.exceptionmapper.RequestIdNotFoundExceptionMapper
-
- All Implemented Interfaces:
javax.ws.rs.ext.ExceptionMapper<RequestIdNotFoundException>
@Provider public class RequestIdNotFoundExceptionMapper extends Object implements javax.ws.rs.ext.ExceptionMapper<RequestIdNotFoundException>
-
-
Constructor Summary
Constructors Constructor Description RequestIdNotFoundExceptionMapper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.Response
toResponse(RequestIdNotFoundException exception)
-
-
-
Method Detail
-
toResponse
@Produces({"application/xml","application/json"}) public javax.ws.rs.core.Response toResponse(RequestIdNotFoundException exception)
- Specified by:
toResponse
in interfacejavax.ws.rs.ext.ExceptionMapper<RequestIdNotFoundException>
-
-