org.silverpeas.quota.exception
Class QuotaException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.stratelia.webactiv.util.exception.SilverpeasException
org.silverpeas.quota.exception.QuotaException
- All Implemented Interfaces:
- FromModule, WithNested, Serializable
- Direct Known Subclasses:
- QuotaFullException, QuotaNotEnoughException, QuotaOutOfBoundsException
public class QuotaException
- extends SilverpeasException
- Author:
- Yohann Chastagnier
- See Also:
- Serialized Form
QuotaException
public QuotaException(Quota quota,
String messageSuffix)
- Default constructor
- Parameters:
quota
- messageSuffix
-
QuotaException
public QuotaException(Quota quota,
String messageSuffix,
Exception exception)
- Default constructor
- Parameters:
quota
- messageSuffix
- exception
-
QuotaException
public QuotaException(Exception exception)
- Default constructor
- Parameters:
quota
- messageSuffix
-
getModule
public String getModule()
- Description copied from class:
SilverpeasException
- This function must be defined by the Classes that herit from this one
- Specified by:
getModule
in interface FromModule
- Specified by:
getModule
in class SilverpeasException
- Returns:
- The SilverTrace's module name
getQuota
public Quota getQuota()
- Returns:
- the quota
Copyright © 2016 Silverpeas. All Rights Reserved.