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