public class BasicExceptionHandler extends Object implements ExceptionHandler
Created by Jeff Gaynor
on 2/6/15 at 4:32 PM
Constructor and Description |
---|
BasicExceptionHandler(MyLoggingFacade logger) |
Modifier and Type | Method and Description |
---|---|
MyLoggingFacade |
getLogger() |
void |
handleException(Throwable t,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
This has to throw these two exceptions for servlets.
|
public BasicExceptionHandler(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
Copyright © 2019. All Rights Reserved.