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
FieldsFields inherited from class org.nuxeo.ecm.core.api.RecoverableClientException
localizedMessage, params, severityFields inherited from class org.nuxeo.ecm.core.api.NuxeoException
statusCode -
Constructor Summary
ConstructorsConstructorDescriptionQuotaExceededException(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, setSeverityMethods inherited from class org.nuxeo.ecm.core.api.NuxeoException
addInfo, getInfos, getMessage, getOriginalMessage, getStatusCodeMethods 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
-