org.eclipse.rdf4j.http.server

## Class ProtocolExceptionResolver

- java.lang.Object
- - org.eclipse.rdf4j.http.server.ProtocolExceptionResolver

- All Implemented Interfaces:
    org.springframework.web.servlet.HandlerExceptionResolver

      public class ProtocolExceptionResolver
      extends Object
      implements org.springframework.web.servlet.HandlerExceptionResolver

  Simple resolver for Exceptions: returns the correct response code and message to the client.
  Author:
    Herko ter Horst

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ProtocolExceptionResolver()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `org.springframework.web.servlet.ModelAndView` | `resolveException(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, Object handler, Exception exception)`

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

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

- - ### Constructor Detail

    - #### ProtocolExceptionResolver

          public ProtocolExceptionResolver()

  - ### Method Detail

    - #### resolveException

          public org.springframework.web.servlet.ModelAndView resolveException(javax.servlet.http.HttpServletRequest request,
                                                                               javax.servlet.http.HttpServletResponse response,
                                                                               Object handler,
                                                                               Exception exception)

      Specified by:
        `resolveException` in interface `org.springframework.web.servlet.HandlerExceptionResolver`

Copyright © 2015-2020 Eclipse Foundation. All Rights Reserved.