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
public class QuotaException
- extends InvalidDataException
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:
- Serialized Form
- Last modified
- $Date: 2009-04-06 14:52:39 +0200 (Mon, 06 Apr 2009) $
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
QuotaException
public QuotaException()
- Create a new
QuotaException
object.
QuotaException
public QuotaException(Location location,
QuotaTypeData quotaType,
long maxBytes,
long currentBytes)
- Create a new
QuotaException
object.
- Parameters:
location
- The locationquotaType
- The quota typemaxBytes
- The maximum allowed number of bytescurrentBytes
- The currently used number of bytes