public class EntitlementExceededException extends EntitlementException
| Modifier and Type | Field and Description |
|---|---|
protected Number |
currentValue
The actual value provided by the module.
|
protected EntitlementType |
entitlementType
The entitlement that was being validated.
|
protected Number |
entitlementValue
The entitlement value found in the license file.
|
protected Module |
module
The module that requested the validation.
|
| Constructor and Description |
|---|
EntitlementExceededException(Module module,
EntitlementType entitlementType,
Number entitlementValue,
Number currentValue) |
| Modifier and Type | Method and Description |
|---|---|
Number |
getCurrentValue() |
EntitlementType |
getEntitlementType() |
Number |
getEntitlementValue() |
Module |
getModule() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringprotected Module module
protected EntitlementType entitlementType
protected Number entitlementValue
protected Number currentValue
public EntitlementExceededException(Module module, EntitlementType entitlementType, Number entitlementValue, Number currentValue)
public Module getModule()
public EntitlementType getEntitlementType()
public Number getEntitlementValue()
public Number getCurrentValue()
Copyright © 2022 CrafterCMS. All rights reserved.