org.proteios.core
Class QuotaException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.proteios.core.BaseException
org.proteios.core.InvalidDataException
org.proteios.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-09 08:48:11 +0200 (Thu, 09 Apr 2009) $
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
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