Fix crash on some corruption when importing CSV

Commons-CSV would throw a RuntimeException in some cases of
bad CSV input. This was later changed to throwing an
IllegalStateException. Updating to v1.5 to pick-up the change.
This commit is contained in:
Branden Archer
2018-01-16 22:04:28 -05:00
parent a3a70d459b
commit 43072e283f
3 changed files with 7 additions and 3 deletions

View File

@@ -40,7 +40,7 @@ public class CsvDatabaseImporter implements DatabaseImporter
parser.close();
database.setTransactionSuccessful();
}
catch(IllegalArgumentException e)
catch(IllegalArgumentException|IllegalStateException e)
{
throw new FormatException("Issue parsing CSV data", e);
}