Class UnsupportedEntitlementException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.craftercms.commons.entitlements.exception.EntitlementException
org.craftercms.commons.entitlements.exception.UnsupportedEntitlementException
- All Implemented Interfaces:
Serializable
Exception thrown when an invalid module or entitlement is requested during a validation.
- Author:
- joseross
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected EntitlementType
The requested entitlement.protected Module
The requested module. -
Constructor Summary
ConstructorsConstructorDescriptionUnsupportedEntitlementException
(Module module, EntitlementType entitlementType) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
module
The requested module. -
entitlementType
The requested entitlement.
-
-
Constructor Details
-
UnsupportedEntitlementException
-
-
Method Details
-
getModule
-
setModule
-
getEntitlementType
-
setEntitlementType
-