Class DefaultExceptionMapper

java.lang.Object
org.apache.storm.daemon.ui.exceptionmappers.DefaultExceptionMapper
All Implemented Interfaces:
jakarta.ws.rs.ext.ExceptionMapper<Throwable>

@Provider public class DefaultExceptionMapper extends Object implements jakarta.ws.rs.ext.ExceptionMapper<Throwable>
  • Field Details

    • request

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

    • DefaultExceptionMapper

      public DefaultExceptionMapper()
  • Method Details

    • toResponse

      public jakarta.ws.rs.core.Response toResponse(Throwable throwable)
      toResponse.
      Specified by:
      toResponse in interface jakarta.ws.rs.ext.ExceptionMapper<Throwable>
      Parameters:
      throwable - throwable
      Returns:
      response