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 Details

    • NotFoundMapper

      public NotFoundMapper()
  • Method Details

    • toResponse

      public javax.ws.rs.core.Response toResponse(org.wso2.charon3.core.exceptions.NotFoundException e)
      Specified by:
      toResponse in interface javax.ws.rs.ext.ExceptionMapper<org.wso2.charon3.core.exceptions.NotFoundException>