Guard exceptons and RandomizedQueue stub