MqttUnauthorizedException Class
- java.
lang. Object - java.
lang. Throwable - java.
lang. Exception - com.
microsoft. azure. sdk. iot. device. exceptions. DeviceClientException - com.
microsoft. azure. sdk. iot. device. exceptions. TransportException - com.
microsoft. azure. sdk. iot. device. exceptions. ProtocolException - com.
microsoft. azure. sdk. iot. device. transport. mqtt. exceptions. MqttUnauthorizedException
- com.
- com.
- com.
- com.
- java.
- java.
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
Constructor Summary
Constructor | Description | |
---|---|---|
MqttUnauthorizedException() | ||
MqttUnauthorizedException(String message) | ||
MqttUnauthorizedException(String message, Throwable cause) | ||
MqttUnauthorizedException(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
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
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