java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.agentforge4j.llm.LlmProviderConfigurationException
- All Implemented Interfaces:
Serializable
Thrown for provider configuration-time failures: an unknown provider, a missing or invalid provider option, an
unresolvable credential reference, or a duplicate provider contributor.
Distinct from the runtime LlmInvocationException. Messages are
secret-safe by construction — callers name the offending provider and option/scheme key, never a credential value.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionLlmProviderConfigurationException(String message) Creates an exception with a message.LlmProviderConfigurationException(String message, Throwable cause) Creates an exception with a message and 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
-
LlmProviderConfigurationException
Creates an exception with a message.- Parameters:
message- the detail message; must not contain a credential value
-
LlmProviderConfigurationException
Creates an exception with a message and cause.- Parameters:
message- the detail message; must not contain a credential valuecause- the underlying cause
-