Package de.xima.fc.prompt.service
Class InvalidInputParamsException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- de.xima.fc.prompt.service.PromptExecutionException
-
- de.xima.fc.prompt.service.InvalidInputParamsException
-
- All Implemented Interfaces:
Serializable
public final class InvalidInputParamsException extends PromptExecutionException
Exception thrown when executing a prompt query with input parameters that are invalid and do not match the input expected by the prompt query, e.g. because a required parameter is missing or an image file was provided when image files are not allowed. Note that this class refers to the external parameters provided to the query, whereasInvalidConfigurationExceptionrefers to the internal (backend) configuration of the prompt query or connection.- Since:
- 8.5.0
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classInvalidInputParamsException.BuilderBuilder for aInvalidInputParamsException.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static InvalidInputParamsException.Builderbuilder()Creates a new builder forInvalidInputParamsException.-
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 InvalidInputParamsException.Builder builder()
Creates a new builder forInvalidInputParamsException.- Returns:
- The new builder.
-
-