Class QuotaExceededException

All Implemented Interfaces:
Serializable

public class QuotaExceededException extends RecoverableClientException
Exception throws by the DocumentsSizeUpdater to enforce Quotas in case a transaction tries to add too much Blobs
Since:
5.6
Author:
Tiry
See Also:
  • Field Details

    • quotaValue

      protected long quotaValue
    • targetPath

      protected String targetPath
    • addedDocumentID

      protected String addedDocumentID
  • Constructor Details

    • QuotaExceededException

      public QuotaExceededException(DocumentModel targetDocument, String message)
    • QuotaExceededException

      public QuotaExceededException(DocumentModel targetDocument, DocumentModel addedDocument, long quotaValue)
    • QuotaExceededException

      public QuotaExceededException(String targetDocumentPath, String addedDocumentID, long quotaValue)
  • Method Details

    • getQuotaValue

      public long getQuotaValue()
    • getTargetPath

      public String getTargetPath()
    • getAddedDocumentID

      public String getAddedDocumentID()
    • unwrap

      public static QuotaExceededException unwrap(Throwable e)
    • isQuotaExceededException

      public static boolean isQuotaExceededException(Throwable e)