Class ConnectionClosedException

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

public class ConnectionClosedException extends com.hivemq.client.internal.util.AsyncRuntimeException
Exception that is used if a MQTT connection is closed without a Disconnect message.
Since:
1.0
See Also:
  • Constructor Details

    • ConnectionClosedException

      public ConnectionClosedException(@NotNull @NotNull String message)
    • ConnectionClosedException

      public ConnectionClosedException(@NotNull @NotNull Throwable cause)
  • Method Details

    • copy

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