Throwable renderCause = new ApplicationRuntimeException("Some failure.");
IPage page = newPage();
IRequestCycle cycle = newCycle("Exception", page);
ResponseRenderer renderer = newRenderer(cycle, renderCause);
RequestExceptionReporter reporter = newReporter();
cycle.activate(page);
reporter.reportRequestException(ErrorMessages.unableToProcessClientRequest(cause), cause);