Class UnlicensedFeatureException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.inductiveautomation.ignition.common.LocalizedException
-
- com.inductiveautomation.ignition.common.licensing.UnlicensedFeatureException
-
- All Implemented Interfaces:
java.io.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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UnlicensedFeatureException(java.lang.String featureId)
Instantiate a exception for the given unlicensed feature.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getFeatureId()
-
Methods inherited from class com.inductiveautomation.ignition.common.LocalizedException
getMessage
-
-
-
-
Constructor Detail
-
UnlicensedFeatureException
public UnlicensedFeatureException(java.lang.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.
-
-