public static Nullable<Guid> Revive(string key, string value) { Guid ret; if(Guid.TryParse(value,out ret) == false) { throw new ValidationArgException("Bad GUID: CUSTOM MESSAGE"); } return ret; }