edu.uiuc.ncsa.security.servlet.ExceptionHandler Maven / Gradle / Ivy
package edu.uiuc.ncsa.security.servlet;
import edu.uiuc.ncsa.security.core.util.MyLoggingFacade;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
/**
* Created by Jeff Gaynor
* on 2/6/15 at 4:29 PM
*/
public interface ExceptionHandler {
public MyLoggingFacade getLogger();
/**
* This has to throw these two exceptions for servlets.
* @param t
* @param request
* @param response
* @throws IOException
* @throws ServletException
*/
public void handleException(Throwable t, HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy