Package com.enonic.xp.web.exception

## Interface ExceptionMapper

-     public interface ExceptionMapper

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `WebException` | `map​(Throwable cause)` |
    `void` | `throwIfNeeded​(WebResponse res)` |

- - ### Method Detail

    - #### map

          WebException map​(Throwable cause)

    - #### throwIfNeeded

          void throwIfNeeded​(WebResponse res)
                      throws WebException

      Throws:
        `WebException`