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

public class UnsupportedEntitlementException extends EntitlementException
Exception thrown when an invalid module or entitlement is requested during a validation.
Author:
joseross
See Also:
  • Field Details

    • module

      protected Module module
      The requested module.
    • entitlementType

      protected EntitlementType entitlementType
      The requested entitlement.
  • Constructor Details

    • UnsupportedEntitlementException

      public UnsupportedEntitlementException(Module module, EntitlementType entitlementType)
  • Method Details

    • getModule

      public Module getModule()
    • setModule

      public void setModule(Module module)
    • getEntitlementType

      public EntitlementType getEntitlementType()
    • setEntitlementType

      public void setEntitlementType(EntitlementType entitlementType)