Class LlmProviderConfigurationException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.agentforge4j.llm.LlmProviderConfigurationException
All Implemented Interfaces:
Serializable

public class LlmProviderConfigurationException extends RuntimeException
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 Details

    • LlmProviderConfigurationException

      public LlmProviderConfigurationException(String message)
      Creates an exception with a message.
      Parameters:
      message - the detail message; must not contain a credential value
    • LlmProviderConfigurationException

      public LlmProviderConfigurationException(String message, Throwable cause)
      Creates an exception with a message and cause.
      Parameters:
      message - the detail message; must not contain a credential value
      cause - the underlying cause