MqttRejectedProtocolVersionException Class

public class MqttRejectedProtocolVersionException
extends ProtocolException

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

Constructor Summary

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

Methods inherited from TransportException

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Methods inherited from java.lang.Throwable

java.lang.Throwable.addSuppressed java.lang.Throwable.fillInStackTrace java.lang.Throwable.getCause java.lang.Throwable.getLocalizedMessage java.lang.Throwable.getMessage java.lang.Throwable.getStackTrace java.lang.Throwable.getSuppressed java.lang.Throwable.initCause java.lang.Throwable.printStackTrace java.lang.Throwable.printStackTrace java.lang.Throwable.printStackTrace java.lang.Throwable.setStackTrace java.lang.Throwable.toString

Constructor Details

MqttRejectedProtocolVersionException

public MqttRejectedProtocolVersionException()

MqttRejectedProtocolVersionException

public MqttRejectedProtocolVersionException(String message)

Parameters:

message

MqttRejectedProtocolVersionException

public MqttRejectedProtocolVersionException(String message, Throwable cause)

Parameters:

message
cause

MqttRejectedProtocolVersionException

public MqttRejectedProtocolVersionException(Throwable cause)

Parameters:

cause

Applies to