Class PlccomMqttLicenseException

  • All Implemented Interfaces:
    Serializable

    public class PlccomMqttLicenseException
    extends IllegalStateException
    Runtime exception thrown when a licensed high-level MQTT client operation is used without valid PLCcom license information.

    The exception is unchecked because several high-level convenience methods return builders and therefore cannot add a checked exception without making the fluent API cumbersome. Applications may catch this exception explicitly when they want to show the license message to an operator or stop startup with a dedicated diagnostic.

    See Also:
    Serialized Form
    • Constructor Detail

      • PlccomMqttLicenseException

        public PlccomMqttLicenseException​(String message)
        Creates a license exception with a diagnostic message.
        Parameters:
        message - human-readable license validation message