org.apache.storm.daemon.ui.exceptionmappers

## Class DefaultExceptionMapper

- java.lang.Object
- - org.apache.storm.daemon.ui.exceptionmappers.DefaultExceptionMapper

- All Implemented Interfaces:
    javax.ws.rs.ext.ExceptionMapper<Throwable>

      @Provider
      public class DefaultExceptionMapper
      extends Object
      implements javax.ws.rs.ext.ExceptionMapper<Throwable>

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `javax.inject.Provider<javax.servlet.http.HttpServletRequest>` | `request`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `DefaultExceptionMapper()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `javax.ws.rs.core.Response` | `toResponse(Throwable throwable)` toResponse.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### request

          @Inject
          public javax.inject.Provider<javax.servlet.http.HttpServletRequest> request

  - ### Constructor Detail

    - #### DefaultExceptionMapper

          public DefaultExceptionMapper()

  - ### Method Detail

    - #### toResponse

          public javax.ws.rs.core.Response toResponse(Throwable throwable)

      toResponse.

      Specified by:
        `toResponse` in interface `javax.ws.rs.ext.ExceptionMapper<Throwable>`
      Parameters:
        `throwable` - throwable
      Returns:
        response

Copyright © 2021 The Apache Software Foundation. All rights reserved.