Package | Description |
---|---|
com.microsoft.azure.sdk.iot.device.exceptions | |
com.microsoft.azure.sdk.iot.device.hsm | |
com.microsoft.azure.sdk.iot.device.transport |
A transport for sending and receiving IoT Hub messages, along with supporting
functionality.
|
com.microsoft.azure.sdk.iot.device.transport.amqps.exceptions | |
com.microsoft.azure.sdk.iot.device.transport.mqtt.exceptions |
Modifier and Type | Class and Description |
---|---|
class |
BadFormatException |
class |
DeviceOperationTimeoutException |
class |
HubOrDeviceIdNotFoundException |
class |
InternalServerErrorException |
class |
IotHubServiceException
Exception class that covers all exceptions communicated from the IoT Hub that are not due to connection issues in
the transport protocols.
|
class |
MultiplexingDeviceUnauthorizedException
Exception that is thrown when one or more devices fail to register to an active multiplexed connection.
|
class |
PreconditionFailedException |
class |
ProtocolException
Exception class that covers all exceptions that occur within transport protocol communication.
|
class |
RequestEntityTooLargeException |
class |
ServerBusyException |
class |
ServiceUnknownException |
class |
ThrottledException |
class |
TooManyDevicesException |
class |
TransportException |
class |
UnauthorizedException |
Modifier and Type | Class and Description |
---|---|
class |
HsmException |
Modifier and Type | Method and Description |
---|---|
void |
IotHubTransport.close(IotHubConnectionStatusChangeReason reason,
Throwable cause)
Closes all resources used to communicate with an IoT Hub.
|
void |
IotHubTransport.handleMessage()
Invokes the message callback if a message is found and
responds to the IoT Hub on how the processed message should be
handled by the IoT Hub.
|
Modifier and Type | Class and Description |
---|---|
class |
AmqpConnectionForcedException
This exception is thrown when a amqp:connection:forced error is encountered over an AMQP connection
For additional details, see this link
|
class |
AmqpConnectionFramingErrorException
This exception is thrown when a amqp:connection:framing-error error is encountered over an AMQP connection
For additional details, see this link
|
class |
AmqpConnectionRedirectException
This exception is thrown when a amqp:connection:redirect error is encountered over an AMQP connection
For additional details, see this link
|
class |
AmqpConnectionThrottledException
This exception is thrown when a com.microsoft:device-container-throttled error is encountered over an AMQP connection
|
class |
AmqpDecodeErrorException
This exception is thrown when a amqp:decode-error is encountered over an AMQP connection
For additional details, see this link
|
class |
AmqpFrameSizeTooSmallException
This exception is thrown when a amqp:frame-size-too-small error is encountered over an AMQP connection
For additional details, see this link
|
class |
AmqpIllegalStateException
This exception is thrown when a amqp:illegal-state error is encountered over an AMQP connection
For additional details, see this link
|
class |
AmqpInternalErrorException
This exception is thrown when a amqp:internal-error error is encountered over an AMQP connection
For additional details, see this link
|
class |
AmqpInvalidFieldException
This exception is thrown when a amqp:invalid-field error is encountered over an AMQP connection
For additional details, see this link
|
class |
AmqpLinkCreationConflict |
class |
AmqpLinkDetachForcedException
This exception is thrown when a amqp:link:detach-forced error is encountered over an AMQP connection
For additional details, see this link
|
class |
AmqpLinkMessageSizeExceededException
This exception is thrown when a amqp:link:message-size-exceeded error is encountered over an AMQP connection
For additional details, see this link
|
class |
AmqpLinkRedirectException
This exception is thrown when a amqp:link:redirect error is encountered over an AMQP connection
Check the headers of the message with this error to see where you are being redirected to.
|
class |
AmqpLinkStolenException
This exception is thrown when a amqp:link:stolen error is encountered over an AMQP connection
For additional details, see this link
|
class |
AmqpLinkTransferLimitExceededException
This exception is thrown when a amqp:link:transfer-limit-exceeded error is encountered over an AMQP connection
For additional details, see this link
|
class |
AmqpNotAllowedException
This exception is thrown when a amqp:not-allowed error is encountered over an AMQP connection
For additional details, see this link
|
class |
AmqpNotFoundException
This exception is thrown when a amqp:not-found error is encountered over an AMQP connection
For additional details, see this link
|
class |
AmqpNotImplementedException
This exception is thrown when a amqp:not-implemented error is encountered over an AMQP connection
For additional details, see this link
|
class |
AmqpPreconditionFailedException
This exception is thrown when a amqp:precondition-failed error is encountered over an AMQP connection
For additional details, see this link
|
class |
AmqpResourceDeletedException
This exception is thrown when a amqp:resource-deleted error is encountered over an AMQP connection
For additional details, see this link
|
class |
AmqpResourceLimitExceededException
This exception is thrown when a amqp:resource-limit-exceeded error is encountered over an AMQP connection
For additional details, see this link
|
class |
AmqpResourceLockedException
This exception is thrown when a amqp:resource-locked error is encountered over an AMQP connection
For additional details, see this link
|
class |
AmqpSessionErrantLinkException
This exception is thrown when a amqp:session:errant-link error is encountered over an AMQP connection
For additional details, see this link
|
class |
AmqpSessionHandleInUseException
This exception is thrown when a amqp:session:handle-in-use error is encountered over an AMQP connection
For additional details, see this link
|
class |
AmqpSessionUnattachedHandleException
This exception is thrown when a amqp:session:unattached-handle error is encountered over an AMQP connection
For additional details, see this link
|
class |
AmqpSessionWindowViolationException
This exception is thrown when a amqp:session:window-violation error is encountered over an AMQP connection
For additional details, see this link
|
class |
AmqpUnauthorizedAccessException
This exception is thrown when a amqp:unauthorized-access error is encountered over an AMQP connection
For additional details, see this link
|
class |
ProtonIOException |
Modifier and Type | Class and Description |
---|---|
class |
MqttBadUsernameOrPasswordException
This exception is thrown when an MQTT Connection Return code of 0x04 is encountered when opening an MQTT connection
MQTT Connect Return Code Documentation
|
class |
MqttIdentifierRejectedException
This exception is thrown when an MQTT Connection Return code of 0x02 is encountered when opening an MQTT connection
MQTT Connect Return Code Documentation
|
class |
MqttRejectedProtocolVersionException
This exception is thrown when an MQTT Connection Return code of 0x01 is encountered when opening an MQTT connection
MQTT Connect Return Code Documentation
|
class |
MqttServerUnavailableException
This exception is thrown when an MQTT Connection Return code of 0x03 is encountered when opening an MQTT connection
In the context of IoT, this exception may be encountered when trying to connect to a disabled device
MQTT Connect Return Code Documentation
|
class |
MqttUnauthorizedException
This exception is thrown when an MQTT Connection Return code of 0x05 is encountered when opening an MQTT connection
MQTT Connect Return Code Documentation
|
class |
MqttUnexpectedErrorException
This exception is thrown when an unrecognized MQTT Connection code is returned when opening an MQTT connection
MQTT Connect Return Code Documentation
|
Copyright © 2020. All rights reserved.