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
Branches
Tags
No related merge requests found
...@@ -108,6 +108,6 @@ public class BackupDatabase_v4 implements BackupDatabase ...@@ -108,6 +108,6 @@ public class BackupDatabase_v4 implements BackupDatabase
@Override @Override
public InternalDatabase convertToInternal() public InternalDatabase convertToInternal()
{ {
return null; throw new UnsupportedOperationException();
} }
} }
...@@ -136,7 +136,7 @@ public class BackupDatabase_v5 implements BackupDatabase ...@@ -136,7 +136,7 @@ public class BackupDatabase_v5 implements BackupDatabase
@Override @Override
public BackupDatabase upgrade() public BackupDatabase upgrade()
{ {
return null; throw new UnsupportedOperationException();
} }
public static BackupDatabase_v5 createFromInternalEntities(InternalDatabase database) 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