Last update: 2011-06-23

org.proteios.core
Class QuotaException

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

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
 

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

Last update: 2011-06-23