Class NotFoundMapper
java.lang.Object
org.wso2.charon3.impl.provider.mappers.NotFoundMapper
- All Implemented Interfaces:
javax.ws.rs.ext.ExceptionMapper<org.wso2.charon3.core.exceptions.NotFoundException>
public class NotFoundMapper
extends Object
implements javax.ws.rs.ext.ExceptionMapper<org.wso2.charon3.core.exceptions.NotFoundException>
Exception mapper for NotFound Exception.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionjavax.ws.rs.core.ResponsetoResponse(org.wso2.charon3.core.exceptions.NotFoundException e)
-
Constructor Details
-
NotFoundMapper
public NotFoundMapper()
-
-
Method Details
-
toResponse
public javax.ws.rs.core.Response toResponse(org.wso2.charon3.core.exceptions.NotFoundException e) - Specified by:
toResponsein interfacejavax.ws.rs.ext.ExceptionMapper<org.wso2.charon3.core.exceptions.NotFoundException>
-