public interface ErrorHandler
| Modifier and Type | Method and Description |
|---|---|
boolean |
handle(Throwable e,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Method handles all types of exceptions that can occur during processing
depending on the exception type.
|
boolean handle(Throwable e, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws IOException, javax.servlet.ServletException
e - the exception, occurred during processingrequest - current request objectresponse - current response objectIOException - propagates the original exception if it is an instance or
subclass of IOExceptionjavax.servlet.ServletException - propagates the original exception if it is an instance or
subclass of ServletException or wraps the original
exception into ServletException to propagate it furtherCopyright © 2004–2020 Jahia Solutions Group SA. All rights reserved.