Class NotFoundExceptionMapper

java.lang.Object
com.atomgraph.server.mapper.ExceptionMapperBase
com.atomgraph.server.mapper.NotFoundExceptionMapper
All Implemented Interfaces:
javax.ws.rs.ext.ExceptionMapper<javax.ws.rs.NotFoundException>

public class NotFoundExceptionMapper extends ExceptionMapperBase implements javax.ws.rs.ext.ExceptionMapper<javax.ws.rs.NotFoundException>
Author:
Martynas Jusevičius <martynas@atomgraph.com>
  • Constructor Details

    • NotFoundExceptionMapper

      @Inject public NotFoundExceptionMapper(com.atomgraph.core.MediaTypes mediaTypes)
  • Method Details

    • toResponse

      public javax.ws.rs.core.Response toResponse(javax.ws.rs.NotFoundException ex)
      Specified by:
      toResponse in interface javax.ws.rs.ext.ExceptionMapper<javax.ws.rs.NotFoundException>