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