diff options
author | Bjørn Christian Seime <bjorncs@yahooinc.com> | 2023-08-03 11:03:10 +0200 |
---|---|---|
committer | Bjørn Christian Seime <bjorncs@yahooinc.com> | 2023-08-03 11:03:10 +0200 |
commit | 0fd1d524e5edbe4f197327bfc9cb81596a15350b (patch) | |
tree | f4d94f12976f55a669f173fec42eaf75e2d3886e /container-search/src/main/java/com/yahoo/search/query/profile/QueryProfileProperties.java | |
parent | 0f46015e498ecb622473cd3e2403283c99f9f5d5 (diff) |
Use `IllegalInputException` to ensure invalid query is returned as 400 response
Diffstat (limited to 'container-search/src/main/java/com/yahoo/search/query/profile/QueryProfileProperties.java')
-rw-r--r-- | container-search/src/main/java/com/yahoo/search/query/profile/QueryProfileProperties.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/container-search/src/main/java/com/yahoo/search/query/profile/QueryProfileProperties.java b/container-search/src/main/java/com/yahoo/search/query/profile/QueryProfileProperties.java index f73ed52246c..7b9fe7da7a2 100644 --- a/container-search/src/main/java/com/yahoo/search/query/profile/QueryProfileProperties.java +++ b/container-search/src/main/java/com/yahoo/search/query/profile/QueryProfileProperties.java @@ -108,7 +108,7 @@ public class QueryProfileProperties extends Properties { /** * Sets a value in this query profile * - * @throws IllegalArgumentException if this property cannot be set in the wrapped query profile + * @throws IllegalInputException if this property cannot be set in the wrapped query profile */ @Override public void set(CompoundName name, Object value, Map<String, String> context) { |