I'd rather prefer to throw an exception here in case it has not been generated