Bug 1329250: Raise the right exception when subnet is being added again to a router

Change-Id: Ic082a8921b708513504120bb484c87ed5ed7b219
Merge "Bug 1329250: Raise the right exception when subnet is being added again to a router"