This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package servletutils; | |
import com.google.common.base.Preconditions; | |
import javax.servlet.*; | |
import javax.servlet.http.*; | |
public class UnhandledExceptionFilter implements Filter { | |
public interface ErrorHandler { | |
void handle(HttpServletRequest request, HttpServletResponse response, Throwable throwable); |