2.17.2: 2011-06-17

net.sf.basedb.core
Class QuotaException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by net.sf.basedb.core.BaseException
                  extended by net.sf.basedb.core.InvalidDataException
                      extended by 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) $

Field Summary
private static long serialVersionUID
           
 
Constructor Summary
QuotaException()
          Create a new QuotaException object.
QuotaException(Location location, QuotaTypeData quotaType, long maxBytes, long currentBytes)
          Create a new QuotaException object.
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values
Constructor Detail

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 location
quotaType - The quota type
maxBytes - The maximum allowed number of bytes
currentBytes - The currently used number of bytes

2.17.2: 2011-06-17