Package net.ygbstudio.jbrave.core.exceptions
package net.ygbstudio.jbrave.core.exceptions
Runtime exceptions raised by JBrave for API, client, and builder lifecycle errors.
Exceptions in this package fall into two families: BraveApiException for errors the Brave Search API reports
and expects the caller to handle, and BraveClientException for errors originating in JBrave
itself (missing tokens, malformed queries, interruption during rate-limit backoff, and so on).
All are unchecked.
- Author:
- Yoham Gabriel Barboza B. (YGBStudio)
-
Exception ClassesClassDescriptionException thrown when a search query is absent in a URL query builder method.Exception thrown when a search vertical is absent in a URL query builder.BraveApiException exists to alert users about known errors that require user attention.This exception is thrown when there is an error in a request involving the Brave Search API internal client.Exception that is thrown when a supplied goggles URI is not a valid URL candidate for its parameter value, for example, the resulting URL from URI is malformed.Exception thrown when there is an error related to the local environment.Exception thrown when a task list is empty and the client requested an asynchronous execution.Exception thrown when the interval of dates provided for a freshness filter is invalid.This exception is thrown when the query term added to the
AbstractQueryUrlBuilderis invalid.This exception is thrown when there is a missing subscription token.An exception that is thrown when a request processing thread is interrupted while waiting to acquire execution admissionThrown when all retry attempts for an HTTP request have been exhausted, indicating that the executor was unable to complete a series of retries.Exception thrown when a compressed HTTP response body cannot be decompressed by JBrave.Exception thrown when a URL query builder is not initialized before adding options.