db.open();
} else {
db = getExistingDatabase(target);
}
if (db == null) {
<BUG>throw new CouchbaseLiteException("database is null", new Status(Status.NOT_FOUND));
</BUG>
}
remoteMap = sourceMap;
}

db.open();
} else {
db = getExistingDatabase(target);
}
if (db == null) {
throw new CouchbaseLiteException("Database is null", new Status(Status.NOT_FOUND));
}
remoteMap = sourceMap;
}
