com.microsoft.azure.sdk.iot.device.transport.mqtt.exceptions

Classes

MqttBadUsernameOrPasswordException

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

MQTT Connect Return Code Documentation

MqttIdentifierRejectedException

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

MQTT Connect Return Code Documentation

MqttRejectedProtocolVersionException

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

Should never be thrown since the MQTT version is hardcoded

MQTT Connect Return Code Documentation

MqttServerUnavailableException

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

MqttUnauthorizedException

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

MQTT Connect Return Code Documentation

MqttUnexpectedErrorException

This exception is thrown when an unrecognized MQTT Connection code is returned when opening an MQTT connection

MQTT Connect Return Code Documentation

PahoExceptionTranslator