Package de.xima.fc.prompt.service
Class UnauthorizedPromptRequestException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- de.xima.fc.prompt.service.PromptExecutionException
-
- de.xima.fc.prompt.service.UnauthorizedPromptRequestException
-
- All Implemented Interfaces:
Serializable
public final class UnauthorizedPromptRequestException extends PromptExecutionException
Exception thrown when executing a prompt query against a prompt service and the service rejected the request due to unauthorized access. This can happen if the provided credentials are invalid or if the user does not have the necessary permissions to access the requested resource.- Since:
- 8.5.0
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classUnauthorizedPromptRequestException.BuilderBuilder for aUnauthorizedPromptRequestException.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static UnauthorizedPromptRequestException.Builderbuilder()Creates a new builder forUnauthorizedPromptRequestException.-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Method Detail
-
builder
public static UnauthorizedPromptRequestException.Builder builder()
Creates a new builder forUnauthorizedPromptRequestException.- Returns:
- The new builder.
-
-