Class NotFoundExceptionMapper

java.lang.Object
org.graylog2.rest.NotFoundExceptionMapper
All Implemented Interfaces:
javax.ws.rs.ext.ExceptionMapper<NotFoundException>

@Provider public class NotFoundExceptionMapper extends Object implements javax.ws.rs.ext.ExceptionMapper<NotFoundException>
  • Constructor Details

    • NotFoundExceptionMapper

      public NotFoundExceptionMapper()
  • Method Details

    • toResponse

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