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 Details

    • ProtocolExceptionResolver

      public ProtocolExceptionResolver()
  • Method Details

    • 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