diff --git a/dbmigration/source/java/ch/systemsx/cisd/dbmigration/DBMigrationEngine.java b/dbmigration/source/java/ch/systemsx/cisd/dbmigration/DBMigrationEngine.java index 712721952e65440d80b9b216d5ffb7332c3886e8..667ff14cfa1cdb6689cb7c01408a5dfa696dbcc8 100644 --- a/dbmigration/source/java/ch/systemsx/cisd/dbmigration/DBMigrationEngine.java +++ b/dbmigration/source/java/ch/systemsx/cisd/dbmigration/DBMigrationEngine.java @@ -112,7 +112,7 @@ public class DBMigrationEngine int size = list.size(); if (size == 0) { - System.out.println("empty db"); + throw new EnvironmentFailureException("Incompletely initialized database."); } else if (size > 1) { throw new EnvironmentFailureException("To many versions found in DATABASE_VERSION: " + size);