Share via


MqttUnauthorizedException Class

public class MqttUnauthorizedException extends ProtocolException

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

MQTT Connect Return Code Documentation

Inherited Members

Constructor Details

MqttUnauthorizedException

public MqttUnauthorizedException()

MqttUnauthorizedException

public MqttUnauthorizedException(String message)

Parameters:

message

MqttUnauthorizedException

public MqttUnauthorizedException(String message, Throwable cause)

Parameters:

message
cause

MqttUnauthorizedException

public MqttUnauthorizedException(Throwable cause)

Parameters:

cause

Applies to