Class InvalidArgumentException

All Implemented Interfaces:
Serializable, Writeable, org.elasticsearch.xcontent.ToXContent, org.elasticsearch.xcontent.ToXContentFragment

public class InvalidArgumentException extends QlClientException
Exception thrown when unable to continue processing client request, in cases such as invalid query parameter or failure to apply requested processing to given data. It's meant as a generic equivalent to QlIllegalArgumentException (that's a server exception). TODO: reason for [E|S|ES]QL specializations of QlIllegalArgumentException? TODO: the intended use of ql.ParsingException, vs its [E|S|ES]QL equivalents, subclassed from the respective XxxClientException? Same for PlanningException.
See Also:
  • Constructor Details

    • InvalidArgumentException

      public InvalidArgumentException(String message, Object... args)
    • InvalidArgumentException

      public InvalidArgumentException(Throwable cause, String message, Object... args)