io.vertx.mqtt

## Class MqttConnectionException

- java.lang.Object
- - java.lang.Throwable
  - - io.vertx.mqtt.MqttConnectionException

- All Implemented Interfaces:
    Serializable

      public class MqttConnectionException
      extends Throwable

  Exception raised when a connection request fails at MQTT level
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `MqttConnectionException(io.netty.handler.codec.mqtt.MqttConnectReturnCode code)` Constructor

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `io.netty.handler.codec.mqtt.MqttConnectReturnCode` | `code()`

    - ### Methods inherited from class java.lang.Throwable

      `addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### MqttConnectionException

          public MqttConnectionException(io.netty.handler.codec.mqtt.MqttConnectReturnCode code)

      Constructor
      Parameters:
        `code` - return code from the CONNACK message

  - ### Method Detail

    - #### code

          public io.netty.handler.codec.mqtt.MqttConnectReturnCode code()

      Returns:
        Return code from the CONNACK message

Copyright © 2022 Eclipse. All rights reserved.