Class GeneralError


  • final class GeneralError
    extends java.lang.Object
    Modifies the HTTP response and body based on the provided exception and request/response wrappers.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static org.slf4j.Logger LOG  
    • Constructor Summary

      Constructors 
      Constructor Description
      GeneralError()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      (package private) static void modify​(javax.servlet.http.HttpServletRequest httpRequest, javax.servlet.http.HttpServletResponse httpResponse, Body body, RequestWrapper requestWrapper, ResponseWrapper responseWrapper, ExceptionMapper exceptionMapper, java.lang.Exception e)
      Modifies the HTTP response and body based on the provided exception.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • LOG

        private static final org.slf4j.Logger LOG
    • Constructor Detail

      • GeneralError

        GeneralError()
    • Method Detail

      • modify

        static void modify​(javax.servlet.http.HttpServletRequest httpRequest,
                           javax.servlet.http.HttpServletResponse httpResponse,
                           Body body,
                           RequestWrapper requestWrapper,
                           ResponseWrapper responseWrapper,
                           ExceptionMapper exceptionMapper,
                           java.lang.Exception e)
        Modifies the HTTP response and body based on the provided exception.