Add raise exception if sequenced id is invalid to sequencemanager