Package 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 Description MqttConnectionException(MqttConnectReturnCode code)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MqttConnectReturnCode
code()
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
MqttConnectionException
public MqttConnectionException(MqttConnectReturnCode code)
Constructor- Parameters:
code
- return code from the CONNACK message
-
-
Method Detail
-
code
public MqttConnectReturnCode code()
- Returns:
- Return code from the CONNACK message
-
-