Class RateLimitException

All Implemented Interfaces:
Serializable

public class RateLimitException extends RetriableException
Thrown when the model provider rejects a request because the caller has exceeded its allowed request or token quota within a time window (HTTP 429).

This is a RetriableException: the request may succeed once the rate-limit window resets. Callers should implement an exponential back-off strategy before retrying.

See Also:
  • Constructor Details

    • RateLimitException

      public RateLimitException(String message)
    • RateLimitException

      public RateLimitException(Throwable cause)
    • RateLimitException

      public RateLimitException(String message, Throwable cause)