RequestDispatcher.ERROR_EXCEPTION);
String errorReportValveClass =
((StandardHost)(context.getParent())).getErrorReportValveClass();
boolean hasErrorReportValve = (errorReportValveClass != null &&
errorReportValveClass.length() > 0);
ResponseFacade responseFacade = getResponseFacade(hres);
if (hasErrorReportValve && responseFacade.isError() &&
statusCode >= 400 && exception == null) {
boolean matchFound = status(hreq, hres,
responseFacade, context, wrapper, statusCode);
if (!matchFound) {
boolean isDefaultErrorPageEnabled = true;