Package com.polarion.platform.ai.llm
Class LlmConfigurationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.polarion.platform.ai.llm.LlmConfigurationException
- All Implemented Interfaces:
Serializable
Exception thrown when an LLM instance cannot be configured due to
invalid or missing configuration parameters.
- Since:
- 3.25.12
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic LlmConfigurationExceptionforInvalidValueOfProperty(String propertyName, String propertyValue) static LlmConfigurationExceptionforMissingProperty(String propertyName) static LlmConfigurationExceptionforMissingSecret(String secretPropertyName) Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
LlmConfigurationException
-
-
Method Details
-
forMissingProperty
-
forMissingSecret
@NotNull public static LlmConfigurationException forMissingSecret(@NotNull String secretPropertyName) -
forInvalidValueOfProperty
@NotNull public static LlmConfigurationException forInvalidValueOfProperty(@NotNull String propertyName, @NotNull String propertyValue)
-