java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.agentforge4j.llm.api.LlmInvocationException
com.agentforge4j.llm.fake.FakeResponseNotFoundException
- All Implemented Interfaces:
Serializable
Thrown when the fake provider cannot resolve a scripted response: the request carried no invocation identity, no
script is registered for the run, or the run's script has no entry for the resolved key. Fail-closed — the fake never
fabricates a default response.
Extends LlmInvocationException so it is a proper LlmClient failure, and carries
no HTTP status, so RetryingLlmClient classifies it as non-transient and does not retry the miss (a retry
would both mask the script gap and advance the ordinal counter again).
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionFakeResponseNotFoundException(String message) Creates a new exception with the given message. -
Method Summary
Methods inherited from class com.agentforge4j.llm.api.LlmInvocationException
getHttpStatusMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
FakeResponseNotFoundException
Creates a new exception with the given message.- Parameters:
message- a description naming exactly what could not be resolved
-