Class BraveClientException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
net.ygbstudio.jbrave.core.exceptions.BraveClientException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
EmptyTaskListException,MissingSubscriptionTokenException,RequestProcessingInterrupted,RequestRetryInterruptedException,ResponseDecompressionException
This exception is thrown when there is an error in a request involving the Brave Search API
internal client. This exception is a runtime exception and it extends
RuntimeException.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionBraveClientException(String message) Creates a new instance with the given detail message.BraveClientException(String message, Throwable cause) Creates a new instance with the given detail message and cause.BraveClientException(@NotNull Supplier<String> message) Creates a new instance with a lazily-evaluated detail message.BraveClientException(@NotNull Supplier<String> message, Throwable cause) Creates a new instance with a lazily-evaluated detail message and a cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
BraveClientException
Creates a new instance with the given detail message.- Parameters:
message- the detail message
-
BraveClientException
Creates a new instance with the given detail message and cause.- Parameters:
message- the detail messagecause- the cause of the exception
-
BraveClientException
Creates a new instance with a lazily-evaluated detail message.- Parameters:
message- a supplier for the detail message
-
BraveClientException
Creates a new instance with a lazily-evaluated detail message and a cause.- Parameters:
message- a supplier for the detail messagecause- the cause of the exception
-