MqttRejectedProtocolVersionException Class
- java.
lang. Object - Exception
- TransportException
- ProtocolException
- com.
microsoft. azure. sdk. iot. device. transport. mqtt. exceptions. MqttRejectedProtocolVersionException
- com.
public class MqttRejectedProtocolVersionException extends ProtocolException
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
Constructor Summary
Inherited Members
TransportException.isRetryable
TransportException.isRetryable()
ProtocolException.ProtocolException()
ProtocolException.ProtocolException(String message)
ProtocolException.ProtocolException(String message, Throwable cause)
ProtocolException.ProtocolException(Throwable cause)
TransportException.setRetryable(boolean isRetryable)
TransportException.toIotHubClientException()
TransportException.TransportException()
TransportException.TransportException(String message)
TransportException.TransportException(String message, Throwable cause)
TransportException.TransportException(Throwable cause)
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Java