You must check that you have a randomizer and throw an exception if not (see other gremlins).