@Override
public void execute(IDataSet dataSet) {
try {
ExportBuilder.writeToXml(dataSet, stream);
} catch (Exception ex) {
throw new JuDbException("Couldn't write DB data to file " + file, ex);
}
}
});
} catch (Exception ex) {
throw new JuDbException("Couldn't write DB data to file " + file, ex);
}
}