Package org.nuxeo.ecm.quota.size
Class QuotaExceededException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.nuxeo.ecm.core.api.NuxeoException
org.nuxeo.ecm.core.api.RecoverableClientException
org.nuxeo.ecm.quota.size.QuotaExceededException
- All Implemented Interfaces:
Serializable
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:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.nuxeo.ecm.core.api.RecoverableClientException
RecoverableClientException.Severity
-
Field Summary
Fields inherited from class org.nuxeo.ecm.core.api.RecoverableClientException
localizedMessage, params, severity
Fields inherited from class org.nuxeo.ecm.core.api.NuxeoException
statusCode
-
Constructor Summary
ConstructorDescriptionQuotaExceededException
(String targetDocumentPath, String addedDocumentID, long quotaValue) QuotaExceededException
(DocumentModel targetDocument, String message) QuotaExceededException
(DocumentModel targetDocument, DocumentModel addedDocument, long quotaValue) -
Method Summary
Methods inherited from class org.nuxeo.ecm.core.api.RecoverableClientException
geLocalizedMessageParams, getLocalizedMessage, getSeverity, setSeverity
Methods inherited from class org.nuxeo.ecm.core.api.NuxeoException
addInfo, getInfos, getMessage, getOriginalMessage, getStatusCode
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
quotaValue
protected long quotaValue -
targetPath
-
addedDocumentID
-
-
Constructor Details
-
QuotaExceededException
-
QuotaExceededException
public QuotaExceededException(DocumentModel targetDocument, DocumentModel addedDocument, long quotaValue) -
QuotaExceededException
-
-
Method Details
-
getQuotaValue
public long getQuotaValue() -
getTargetPath
-
getAddedDocumentID
-
unwrap
-
isQuotaExceededException
-