MqttServerUnavailableException Class

public class MqttServerUnavailableException extends ProtocolException

This exception is thrown when an MQTT Connection Return code of 0x03 is encountered when opening an MQTT connection

In the context of IoT, this exception may be encountered when trying to connect to a disabled device

MQTT Connect Return Code Documentation

Constructor Summary

Constructor Description
MqttServerUnavailableException()
MqttServerUnavailableException(String message)
MqttServerUnavailableException(String message, Throwable cause)
MqttServerUnavailableException(Throwable cause)

Inherited Members

Constructor Details

MqttServerUnavailableException

public MqttServerUnavailableException()

MqttServerUnavailableException

public MqttServerUnavailableException(String message)

Parameters:

message

MqttServerUnavailableException

public MqttServerUnavailableException(String message, Throwable cause)

Parameters:

message
cause

MqttServerUnavailableException

public MqttServerUnavailableException(Throwable cause)

Parameters:

cause

Applies to