Class UnlicensedFeatureException

All Implemented Interfaces:
Serializable

public class UnlicensedFeatureException extends LocalizedException
A exception thrown whenever the system tries to do or access something that has not been licensed.

Contains a "feature id" describing what was not licensed. It is free form text that should make clear what was not allowed.

The message of the exception is localized, and contains the feature id.

See Also:
  • Constructor Details

    • UnlicensedFeatureException

      public UnlicensedFeatureException(String featureId)
      Instantiate a exception for the given unlicensed feature.
      Parameters:
      featureId - a string that will be included in the error message to represent the unlicensed feature. Should be identifiable and hopefully make clear exactly what isn't licensed.
  • Method Details

    • getFeatureId

      public String getFeatureId()