commit | ff59301a9cc72589edbcbf455d4855978eabeda9 | [log] [tgz] |
---|---|---|
author | Dave Borowitz <dborowitz@google.com> | Tue Oct 14 14:12:04 2014 -0700 |
committer | Dave Borowitz <dborowitz@google.com> | Fri Oct 17 11:54:07 2014 -0700 |
tree | 721bea148c984dd9e7b4f4f98f4548b6435f4623 | |
parent | ba4243ccfc685d0e7aff1a691a93f6fce2426b5d [diff] |
Avoid throwing OrmException from SubmitRuleEvaluator methods Instead of lazily looking up the patch set (possibly throwing) wherever it is used, initialize it once at the beginning of each public method (other than the trivial setters). and convert any OrmExceptions to error records of the appropriate type. Change-Id: I303c4d90d7b1aeaeb5cf33b1a4031a6bef8fa1a3