Package com.plccom.mqtt.client
Class PlccomMqttLicenseException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- java.lang.IllegalStateException
-
- com.plccom.mqtt.client.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 Summary
Constructors Constructor Description PlccomMqttLicenseException(String message)Creates a license exception with a diagnostic message.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
PlccomMqttLicenseException
public PlccomMqttLicenseException(String message)
Creates a license exception with a diagnostic message.- Parameters:
message- human-readable license validation message
-
-