final String path = configuration.get().getDumpDirectory() + "/" + createFileName(event, phase.getName());
try
{
final IDataSet dbContent = databaseConnection.get().createDataSet();
DataDump dumpData = createDataDump(path, dbContent);
commandService.get().execute(new DumpDataCommand(dumpData));
}
catch (Exception e)
{
throw new DBUnitDataSetHandlingException("Unable to dump database state to folder " + path, e);
}