Package org.craftercms.engine.http
Interface ExceptionHandler
- All Known Implementing Classes:
ConstraintViolationExceptionHandler
,DefaultExceptionHandler
,HttpStatusCodeAwareExceptionHandler
,ViewNotResolvedExceptionHandler
public interface ExceptionHandler
Handles exceptions thrown during the HTTP request handling.
- Author:
- Alfonso Vásquez
-
Method Summary
-
Method Details
-
handle
boolean handle(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, Exception ex) throws IOException Attempts to handle the exception. If it can be handled, returns true, else false is returned.- Throws:
IOException
-