diff --git a/src/main/java/org/elasticsearch/action/ActionRequestValidationException.java b/src/main/java/org/elasticsearch/action/ActionRequestValidationException.java index ad4fcff5cc0..b353e75aa3b 100644 --- a/src/main/java/org/elasticsearch/action/ActionRequestValidationException.java +++ b/src/main/java/org/elasticsearch/action/ActionRequestValidationException.java @@ -19,7 +19,7 @@ package org.elasticsearch.action; -import org.elasticsearch.ElasticsearchException; +import org.elasticsearch.ElasticsearchIllegalArgumentException; import java.util.ArrayList; import java.util.List; @@ -27,7 +27,7 @@ import java.util.List; /** * */ -public class ActionRequestValidationException extends ElasticsearchException { +public class ActionRequestValidationException extends ElasticsearchIllegalArgumentException { private final List validationErrors = new ArrayList<>();