Class KvCacheExhaustedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalStateException
smile.llm.cache.KvCacheExhaustedException
- All Implemented Interfaces:
Serializable
Thrown when a request attempts to use more KV slots than were reserved at
bind time. The static pool never grows per request; callers should stop
generation at
KvCachePool.requestCapacity() instead.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionKvCacheExhaustedException(String message) Creates an exception with a detail message. -
Method Summary
Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
KvCacheExhaustedException
Creates an exception with a detail message.- Parameters:
message- detail message.
-