* @param response response to the user
* @throws org.jboss.dashboard.ui.taglib.formatter.FormatterException
* in case of an unexpected exception.
*/
public void service(HttpServletRequest request, HttpServletResponse response) throws FormatterException {
ExportSessionInfo sessionInfo = ((ExportDriver) getDriver()).getSessionInfo();
if (sessionInfo != null && sessionInfo.getExportResult() != null) {
Exception error = sessionInfo.getExportResult().getException();
List warnings = sessionInfo.getExportResult().getWarnings();
List warningArguments = sessionInfo.getExportResult().getWarningArguments();
if (sessionInfo.getExportResult().hasErrors()) {
setAttribute("errorMessage", error.getMessage());
setAttribute("exception", error);
renderFragment("errors");
} else {
if (!warnings.isEmpty()) {