Class ExceptionMapperUtils

java.lang.Object
org.apache.storm.daemon.ui.exceptionmappers.ExceptionMapperUtils

public class ExceptionMapperUtils extends Object
  • Constructor Details

    • ExceptionMapperUtils

      public ExceptionMapperUtils()
  • Method Details

    • getResponse

      public static javax.ws.rs.core.Response getResponse(Exception ex, javax.ws.rs.core.Response.Status responseStatus, javax.inject.Provider<javax.servlet.http.HttpServletRequest> request)
      getResponse.
      Parameters:
      ex - ex
      responseStatus - responseStatus
      Returns:
      getResponse
    • getResponse

      public static javax.ws.rs.core.Response getResponse(AuthorizationException ex, javax.inject.Provider<javax.servlet.http.HttpServletRequest> request)
      getResponse.
      Parameters:
      ex - ex
      request - request
      Returns:
      getResponse
    • getResponse

      public static javax.ws.rs.core.Response getResponse(Exception ex, javax.inject.Provider<javax.servlet.http.HttpServletRequest> request)
      getResponse.
      Parameters:
      ex - ex
      Returns:
      getResponse