Class DefaultExceptionMapper
java.lang.Object
org.apache.storm.daemon.ui.exceptionmappers.DefaultExceptionMapper
- All Implemented Interfaces:
jakarta.ws.rs.ext.ExceptionMapper<Throwable>
-
Field Summary
Modifier and TypeFieldDescriptionjakarta.inject.Provider<jakarta.servlet.http.HttpServletRequest>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionjakarta.ws.rs.core.Response
toResponse
(Throwable throwable) toResponse.
-
Field Details
-
request
@Inject public jakarta.inject.Provider<jakarta.servlet.http.HttpServletRequest> request
-
-
Constructor Details
-
DefaultExceptionMapper
public DefaultExceptionMapper()
-
-
Method Details
-
toResponse
toResponse.- Specified by:
toResponse
in interfacejakarta.ws.rs.ext.ExceptionMapper<Throwable>
- Parameters:
throwable
- throwable- Returns:
- response
-