Class MqttClientStateException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.hivemq.client.internal.util.AsyncRuntimeException
com.hivemq.client.mqtt.exceptions.MqttClientStateException
All Implemented Interfaces:
Serializable

public class MqttClientStateException extends com.hivemq.client.internal.util.AsyncRuntimeException
Exception that is used if an operation is called on an MqttClient that is not possible in its current state, e.g. a client can not publish if it is not connected.
Since:
1.0
See Also:
  • Constructor Details

    • MqttClientStateException

      public MqttClientStateException(@NotNull @NotNull String message)
  • Method Details

    • copy

      @NotNull protected @NotNull MqttClientStateException copy()
      Specified by:
      copy in class com.hivemq.client.internal.util.AsyncRuntimeException