MqttBadUsernameOrPasswordException Class

public class MqttBadUsernameOrPasswordException extends ProtocolException

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

MQTT Connect Return Code Documentation

Constructor Summary

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

Inherited Members

Constructor Details

MqttBadUsernameOrPasswordException

public MqttBadUsernameOrPasswordException()

MqttBadUsernameOrPasswordException

public MqttBadUsernameOrPasswordException(String message)

Parameters:

message

MqttBadUsernameOrPasswordException

public MqttBadUsernameOrPasswordException(String message, Throwable cause)

Parameters:

message
cause

MqttBadUsernameOrPasswordException

public MqttBadUsernameOrPasswordException(Throwable cause)

Parameters:

cause

Applies to