Throw exception when attempting to create a gateway which does not exist