Class HttpStatusCodeAwareExceptionHandler

java.lang.Object
org.craftercms.engine.http.impl.HttpStatusCodeAwareExceptionHandler
All Implemented Interfaces:
ExceptionHandler

public class HttpStatusCodeAwareExceptionHandler extends Object implements ExceptionHandler
Handler for HttpStatusCodeExceptions.
Author:
Alfonso Vásquez
  • Constructor Details

    • HttpStatusCodeAwareExceptionHandler

      public HttpStatusCodeAwareExceptionHandler()
  • Method Details

    • handle

      public boolean handle(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, Exception ex) throws IOException
      Description copied from interface: ExceptionHandler
      Attempts to handle the exception. If it can be handled, returns true, else false is returned.
      Specified by:
      handle in interface ExceptionHandler
      Throws:
      IOException