event.setBusinessMessage(message);
eventBus.fireEvent(event);
}
protected void onFailure(final Throwable caught) {
final DataExportedEvent event = new DataExportedEvent(this, exportContext.getExporter());
event.setLevel(Level.INFO);
log.error("Failure occured when exporting", caught);
event.setBusinessMessage(PString.get("export.failure", caught.getMessage()));
eventBus.fireEvent(event);
}