public class QuotaExceededException extends RecoverableClientException
QuotaSyncListenerChecker
to enforce Quotas in case a transaction tries to add too
much BlobsRecoverableClientException.Severity
Modifier and Type | Field and Description |
---|---|
protected String |
addedDocumentID |
protected long |
quotaValue |
protected String |
targetPath |
localizedMessage, params, 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
addInfo, getInfos, getMessage, getOriginalMessage
addSuppressed, fillInStackTrace, getCause, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
protected long quotaValue
protected String targetPath
protected String addedDocumentID
public QuotaExceededException(DocumentModel targetDocument, String message)
public QuotaExceededException(DocumentModel targetDocument, DocumentModel addedDocument, long quotaValue)
public QuotaExceededException(String targetDocumentPath, String addedDocumentID, long quotaValue)
public long getQuotaValue()
public String getTargetPath()
public String getAddedDocumentID()
public static QuotaExceededException unwrap(Throwable e)
public static boolean isQuotaExceededException(Throwable e)
Copyright © 2016 Nuxeo SA. All rights reserved.