Class QuotaExceededException

  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by voldemort.VoldemortException
                  extended by voldemort.VoldemortApplicationException
                      extended by voldemort.store.quota.QuotaExceededException
All Implemented Interfaces:

public class QuotaExceededException
extends VoldemortApplicationException

An exception that indicates that user has exceeded the throughput for Quota allowed. The throughput is configurable per store per operation. This extends VoldemortApplicationException due to its critical nature. In most situations the request is dropped and operations is failed when it exceeds Quota. Except, when a Serial Put to master succeeds and parallel puts fail due to exceeding quota, slops are registered.

See Also:
Serialized Form

Constructor Summary
QuotaExceededException(java.lang.String message)
QuotaExceededException(java.lang.String message, java.lang.Exception cause)
Method Summary
 java.lang.Throwable fillInStackTrace()
          Override to avoid the overhead of stack trace.
Methods inherited from class java.lang.Throwable
getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

Constructor Detail


public QuotaExceededException(java.lang.String message)


public QuotaExceededException(java.lang.String message,
                              java.lang.Exception cause)
Method Detail


public java.lang.Throwable fillInStackTrace()
Override to avoid the overhead of stack trace. These are thrown only from QuotaLimitingStore on exceeding the Quota.

fillInStackTrace in class java.lang.Throwable

Jay Kreps, Roshan Sumbaly, Alex Feinberg, Bhupesh Bansal, Lei Gao, Chinmay Soman, Vinoth Chandar, Zhongjie Wu