Class NotAliveExceptionMapper

java.lang.Object
org.apache.storm.daemon.ui.exceptionmappers.NotAliveExceptionMapper
All Implemented Interfaces:
javax.ws.rs.ext.ExceptionMapper<NotAliveException>

@Provider public class NotAliveExceptionMapper extends Object implements javax.ws.rs.ext.ExceptionMapper<NotAliveException>
  • Field Details

    • request

      @Inject public javax.inject.Provider<javax.servlet.http.HttpServletRequest> request
  • Constructor Details

    • NotAliveExceptionMapper

      public NotAliveExceptionMapper()
  • Method Details

    • toResponse

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