commit | 5b2c024975f0027f3abc93c877e8094dabe51d5c | [log] [tgz] |
---|---|---|
author | Dave Borowitz <dborowitz@google.com> | Thu Aug 22 11:41:28 2013 -0700 |
committer | Dave Borowitz <dborowitz@google.com> | Thu Aug 22 11:49:30 2013 -0700 |
tree | 7043e680cfbe4f9fb18a65259da3f0432ff7c11d | |
parent | 74f574324db2bf617b0fe7c3b7c8736c2e0e7d92 [diff] |
Allow QueryParseException to escape ChangeQueryRewriter ChangeIndex.getSource throws QueryParseException with the intention of allowing implementations to not support certain operators/features (e.g. regex queries). For this to result in a user-visible error message instead of a 500, we need to not wrap it in an IllegalStateException. Change-Id: I8871df8b806cb48ba976ce00f5864a906cd3e9b3