Replication manager changes

Shouldn't this be a runtime exception? These arguments should never be null. So if they are something went very wrong.