Class InvalidQueryTermException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
net.ygbstudio.jbrave.core.exceptions.InvalidQueryTermException
All Implemented Interfaces:
Serializable

public class InvalidQueryTermException extends RuntimeException
This exception is thrown when the query term added to the
AbstractQueryUrlBuilder is invalid.

A query term is invalid if it contains more than 400 characters or exceeds the 50-word limit.

See Also:
  • Constructor Details

    • InvalidQueryTermException

      public InvalidQueryTermException(String message)
    • InvalidQueryTermException

      public InvalidQueryTermException(@NotNull @NotNull Supplier<String> message)