Class ExceptionMapperUtils
java.lang.Object
org.apache.storm.daemon.ui.exceptionmappers.ExceptionMapperUtils
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic jakarta.ws.rs.core.Response
getResponse
(Exception ex, jakarta.inject.Provider<jakarta.servlet.http.HttpServletRequest> request) getResponse.static jakarta.ws.rs.core.Response
getResponse
(Exception ex, jakarta.ws.rs.core.Response.Status responseStatus, jakarta.inject.Provider<jakarta.servlet.http.HttpServletRequest> request) getResponse.static jakarta.ws.rs.core.Response
getResponse
(AuthorizationException ex, jakarta.inject.Provider<jakarta.servlet.http.HttpServletRequest> request) getResponse.
-
Constructor Details
-
ExceptionMapperUtils
public ExceptionMapperUtils()
-
-
Method Details
-
getResponse
public static jakarta.ws.rs.core.Response getResponse(Exception ex, jakarta.ws.rs.core.Response.Status responseStatus, jakarta.inject.Provider<jakarta.servlet.http.HttpServletRequest> request) getResponse.- Parameters:
ex
- exresponseStatus
- responseStatus- Returns:
- getResponse
-
getResponse
public static jakarta.ws.rs.core.Response getResponse(AuthorizationException ex, jakarta.inject.Provider<jakarta.servlet.http.HttpServletRequest> request) getResponse.- Parameters:
ex
- exrequest
- request- Returns:
- getResponse
-
getResponse
public static jakarta.ws.rs.core.Response getResponse(Exception ex, jakarta.inject.Provider<jakarta.servlet.http.HttpServletRequest> request) getResponse.- Parameters:
ex
- ex- Returns:
- getResponse
-