Skip to content
Snippets Groups Projects
Commit 67a054ab authored by Robert Goldmann's avatar Robert Goldmann
Browse files

#598 - throw exceptions on unexpected method calls

parent b22d52a1
No related branches found
No related tags found
No related merge requests found
......@@ -108,6 +108,6 @@ public class BackupDatabase_v4 implements BackupDatabase
@Override
public InternalDatabase convertToInternal()
{
return null;
throw new UnsupportedOperationException();
}
}
......@@ -136,7 +136,7 @@ public class BackupDatabase_v5 implements BackupDatabase
@Override
public BackupDatabase upgrade()
{
return null;
throw new UnsupportedOperationException();
}
public static BackupDatabase_v5 createFromInternalEntities(InternalDatabase database)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment