Package org.craftercms.engine.http.impl
Class HttpStatusCodeAwareExceptionHandler
java.lang.Object
org.craftercms.engine.http.impl.HttpStatusCodeAwareExceptionHandler
- All Implemented Interfaces:
ExceptionHandler
Handler for
HttpStatusCodeExceptions.- Author:
- Alfonso Vásquez
-
Constructor Summary
Constructors -
Method Summary
-
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:ExceptionHandlerAttempts to handle the exception. If it can be handled, returns true, else false is returned.- Specified by:
handlein interfaceExceptionHandler- Throws:
IOException
-