Package net.sf.basedb.core
Class QuotaException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
net.sf.basedb.core.BaseException
net.sf.basedb.core.InvalidDataException
net.sf.basedb.core.QuotaException
- All Implemented Interfaces:
Serializable
This exception is thrown to signal that the user's quota has been exceeded
and that an
DiskConsumable
item cannot be saved.- Version:
- 2.0
- Author:
- Nicklas
- See Also:
- Last modified
- $Date: 2009-04-06 14:52:39 +0200 (må, 06 apr 2009) $
-
Field Summary
-
Constructor Summary
ConstructorDescriptionCreate a newQuotaException
object.QuotaException
(Location location, QuotaTypeData quotaType, long maxBytes, long currentBytes) Create a newQuotaException
object. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
-
Constructor Details
-
QuotaException
public QuotaException()Create a newQuotaException
object. -
QuotaException
Create a newQuotaException
object.- Parameters:
location
- The locationquotaType
- The quota typemaxBytes
- The maximum allowed number of bytescurrentBytes
- The currently used number of bytes
-