Class QuotaExceededException

All Implemented Interfaces:
Serializable

public class QuotaExceededException extends VeniceException
See Also:
  • Constructor Details

    • QuotaExceededException

      public QuotaExceededException(String throttlerName, String currentUsage, String quota)
    • QuotaExceededException

      public QuotaExceededException(String throttlerName, String currentUsage, String quota, Throwable e)
  • Method Details

    • getHttpStatusCode

      public int getHttpStatusCode()
      Description copied from class: VeniceException
      If this exception is caught in handling an http request, what status code should be returned? Exceptions that extend VeniceException can override this for different behavior
      Overrides:
      getHttpStatusCode in class VeniceException
      Returns:
      500 (Internal Server Error)
    • getErrorMessage

      public static String getErrorMessage(String throttlerName, String currentUsage, String quota)