Class QuotaNotInAllowedLimitException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
cz.metacentrum.perun.core.api.exceptions.rt.PerunRuntimeException
cz.metacentrum.perun.core.api.exceptions.InternalErrorException
cz.metacentrum.perun.core.api.exceptions.QuotaNotInAllowedLimitException
- All Implemented Interfaces:
Serializable
Raised when transferred quotas attribute value is not in defined limit.
- Author:
- Michal Stava invalid input: '<'stavamichal@gmail.com>
- See Also:
-
Constructor Summary
ConstructorDescriptionQuotaNotInAllowedLimitException
(String message) Simple constructor with a messageQuotaNotInAllowedLimitException
(String message, Throwable cause) Constructor with a message and Throwable objectConstructor with a Throwable objectQuotaNotInAllowedLimitException
(Map<String, Pair<BigDecimal, BigDecimal>> quotaToCheck, Map<String, Pair<BigDecimal, BigDecimal>> limitQuota, String message) Constructor with quota to check, limit quota and messageQuotaNotInAllowedLimitException
(Map<String, Pair<BigDecimal, BigDecimal>> quotaToCheck, Map<String, Pair<BigDecimal, BigDecimal>> limitQuota, String message, Throwable cause) Constructor with quota to check, limit quota and message -
Method Summary
Methods inherited from class cz.metacentrum.perun.core.api.exceptions.rt.PerunRuntimeException
getErrorId, getMessage, getType
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
QuotaNotInAllowedLimitException
Simple constructor with a message- Parameters:
message
- message with details about the cause
-
QuotaNotInAllowedLimitException
Constructor with a message and Throwable object- Parameters:
message
- message with details about the causecause
- Throwable that caused throwing of this exception
-
QuotaNotInAllowedLimitException
Constructor with a Throwable object- Parameters:
cause
- Throwable that caused throwing of this exception
-
QuotaNotInAllowedLimitException
public QuotaNotInAllowedLimitException(Map<String, Pair<BigDecimal, BigDecimal>> quotaToCheck, Map<String, Pair<BigDecimal, BigDecimal>> limitQuota, String message) Constructor with quota to check, limit quota and message- Parameters:
quotaToCheck
- quota to be checkedlimitQuota
- limit quotamessage
- message with details about the cause
-
QuotaNotInAllowedLimitException
public QuotaNotInAllowedLimitException(Map<String, Pair<BigDecimal, BigDecimal>> quotaToCheck, Map<String, Pair<BigDecimal, BigDecimal>> limitQuota, String message, Throwable cause) Constructor with quota to check, limit quota and message- Parameters:
quotaToCheck
- quota to be checkedlimitQuota
- limit quotamessage
- message with details about the causecause
- Throwable that caused throwing of this exception
-