Replace that exception throw by an assert