Package org.wso2.msf4j.example.exception
Class EntityNotFoundMapper
- java.lang.Object
-
- org.wso2.msf4j.example.exception.EntityNotFoundMapper
-
- All Implemented Interfaces:
javax.ws.rs.ext.ExceptionMapper<EntityNotFoundException>
public class EntityNotFoundMapper extends java.lang.Object implements javax.ws.rs.ext.ExceptionMapper<EntityNotFoundException>
EntityNotFoundMapper.
-
-
Constructor Summary
Constructors Constructor Description EntityNotFoundMapper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.ResponsetoResponse(EntityNotFoundException ex)
-
-
-
Method Detail
-
toResponse
public javax.ws.rs.core.Response toResponse(EntityNotFoundException ex)
- Specified by:
toResponsein interfacejavax.ws.rs.ext.ExceptionMapper<EntityNotFoundException>
-
-