isValid($uuid)) { throw new InvalidUuidException($uuid); } } }