import java.util.HashMap;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
public class DefaultErrorHandler implements ErrorHandler {
<BUG>private static final Logger log = LoggerFactory.getLogger(DefaultErrorHandler.class);
private Application application;</BUG>
private final Map<Class<? extends Exception>, ExceptionHandler> exceptionHandlers;
public DefaultErrorHandler(Application application) {
this.application = application;

import java.util.HashMap;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
public class DefaultErrorHandler implements ErrorHandler {
private static final Logger log = LoggerFactory.getLogger(DefaultErrorHandler.class);
private static final String MESSAGE = "message";
private Application application;
private final Map<Class<? extends Exception>, ExceptionHandler> exceptionHandlers;
public DefaultErrorHandler(Application application) {
this.application = application;
