public class QuotaExceededException extends RecoverableClientException
QuotaSyncListenerChecker
to enforce Quotas in
case a transaction tries to add too much BlobsRecoverableClientException.Severity
Constructor and Description |
---|
QuotaExceededException(DocumentModel targetDocument,
DocumentModel addedDocument,
long quotaValue) |
QuotaExceededException(DocumentModel targetDocument,
String message) |
QuotaExceededException(String targetDocumentPath,
String addedDocumentID,
long quotaValue) |
Modifier and Type | Method and Description |
---|---|
String |
getAddedDocumentID() |
long |
getQuotaValue() |
String |
getTargetPath() |
static boolean |
isQuotaExceededException(Throwable e) |
static QuotaExceededException |
unwrap(Throwable e) |
geLocalizedMessageParams, getLocalizedMessage, getSeverity, setSeverity
wrap
addSuppressed, fillInStackTrace, getCause, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public QuotaExceededException(DocumentModel targetDocument, String message)
public QuotaExceededException(DocumentModel targetDocument, DocumentModel addedDocument, long quotaValue)
public long getQuotaValue()
public String getTargetPath()
public String getAddedDocumentID()
public static QuotaExceededException unwrap(Throwable e)
public static boolean isQuotaExceededException(Throwable e)
Copyright © 2013 Nuxeo SA. All Rights Reserved.