public class ClientExceptionHandler extends Object implements ExceptionHandler
Created by Jeff Gaynor
on 2/9/15 at 12:01 PM
Modifier and Type | Field and Description |
---|---|
protected ClientServlet |
clientServlet |
Constructor and Description |
---|
ClientExceptionHandler(ClientServlet clientServlet,
MyLoggingFacade logger) |
Modifier and Type | Method and Description |
---|---|
MyLoggingFacade |
getLogger() |
protected String |
getNormalizedContextPath() |
void |
handleException(Throwable t,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
This has to throw these two exceptions for servlets.
|
protected ClientServlet clientServlet
public ClientExceptionHandler(ClientServlet clientServlet, MyLoggingFacade logger)
public MyLoggingFacade getLogger()
getLogger
in interface ExceptionHandler
public void handleException(Throwable t, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws IOException, javax.servlet.ServletException
ExceptionHandler
handleException
in interface ExceptionHandler
IOException
javax.servlet.ServletException
protected String getNormalizedContextPath()
Copyright © 2019. All Rights Reserved.