public class QuotaException extends InvalidDataException
DiskConsumable
item cannot be saved.Modifier and Type | Field and Description |
---|---|
private static long |
serialVersionUID |
Constructor and Description |
---|
QuotaException()
Create a new
QuotaException object. |
QuotaException(Location location,
QuotaTypeData quotaType,
long maxBytes,
long currentBytes)
Create a new
QuotaException object. |
private static final long serialVersionUID
public QuotaException()
QuotaException
object.public QuotaException(Location location, QuotaTypeData quotaType, long maxBytes, long currentBytes)
QuotaException
object.location
- The locationquotaType
- The quota typemaxBytes
- The maximum allowed number of bytescurrentBytes
- The currently used number of bytes