public class CapacityFullException extends BucketStorageException
ERROR_CODE_CONFLICT, ERROR_CODE_INTERNAL_ERROR, ERROR_CODE_NOT_FOUND, ERROR_CODE_NOT_SET
Constructor and Description |
---|
CapacityFullException()
Creates a new instance of
BucketCapacityFullException without detail message. |
CapacityFullException(int numberOfInsertedObjects)
Creates a new instance of
BucketCapacityFullException without detail message. |
CapacityFullException(java.lang.String msg)
Creates a new instance of
BucketCapacityFullException with a detail message. |
CapacityFullException(java.lang.String msg,
int numberOfInsertedObjects)
Creates a new instance of
BucketCapacityFullException with a detail message. |
Modifier and Type | Method and Description |
---|---|
int |
getNumberOfInsertedObjects()
Returns the number of objects that were inserted by a single operation before this exception was thrown.
|
protected void |
setNumberOfInsertedObjects(int numberOfInsertedObjects)
Sets the number of objects that were inserted by a single operation before this exception was thrown
|
getErrorCode, getHttpErrorCode, isHttpErrorCodeSet, setHttpErrorCode
public CapacityFullException()
BucketCapacityFullException
without detail message.public CapacityFullException(int numberOfInsertedObjects)
BucketCapacityFullException
without detail message.numberOfInsertedObjects
- the number of objects that were actually insertedpublic CapacityFullException(java.lang.String msg)
BucketCapacityFullException
with a detail message.msg
- detailed messagepublic CapacityFullException(java.lang.String msg, int numberOfInsertedObjects)
BucketCapacityFullException
with a detail message.msg
- detailed messagenumberOfInsertedObjects
- the number of objects that were actually insertedprotected void setNumberOfInsertedObjects(int numberOfInsertedObjects)
numberOfInsertedObjects
- the number of objects that were actually insertedpublic int getNumberOfInsertedObjects()