Class 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 (må, 06 apr 2009) $
    • 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