Class PromptExecutionException.Builder<Instance,Builder>
java.lang.Object
de.xima.fc.prompt.service.PromptExecutionException.Builder<Instance,Builder>
- Type Parameters:
Instance- The type of the exception subclass.Builder- The type of the builder subclass.
- Direct Known Subclasses:
ExecutionFailedException.Builder, InvalidConfigurationException.Builder, InvalidInputParamsException.Builder, InvalidOutputParamsException.Builder, MissingPromptServiceException.Builder, RateLimitExceededException.Builder, RequestRefusedException.Builder, ResponseRefusedException.Builder, ServiceUnavailableException.Builder, UnauthorizedPromptRequestException.Builder
- Enclosing class:
PromptExecutionException
Base builder class for prompt execution exceptions.
- Since:
- 8.5.0
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
cause
-
message
-
-
Constructor Details
-
Builder
protected Builder()
-
-
Method Details
-
build
Creates the exception instance with the configured values.- Returns:
- The created exception instance.
-
cause
-
message
-