azure-docs-sdk-java/docs-ref-autogen/com.microsoft.azure.sdk.iot...

396 строки
23 KiB
YAML

### YamlMime:ManagedReference
items:
- uid: com.microsoft.azure.sdk.iot.device.transport.mqtt.exceptions._mqedc7bbc7cd215fa264730d3034a86582
id: _mqedc7bbc7cd215fa264730d3034a86582
parent: com.microsoft.azure.sdk.iot.device.transport.mqtt.exceptions
children:
- com.microsoft.azure.sdk.iot.device.transport.mqtt.exceptions._mqedc7bbc7cd215fa264730d3034a86582.MqttRejectedProtocolVersionException()
- com.microsoft.azure.sdk.iot.device.transport.mqtt.exceptions._mqedc7bbc7cd215fa264730d3034a86582.MqttRejectedProtocolVersionException(String)
- com.microsoft.azure.sdk.iot.device.transport.mqtt.exceptions._mqedc7bbc7cd215fa264730d3034a86582.MqttRejectedProtocolVersionException(String,Throwable)
- com.microsoft.azure.sdk.iot.device.transport.mqtt.exceptions._mqedc7bbc7cd215fa264730d3034a86582.MqttRejectedProtocolVersionException(Throwable)
href: com.microsoft.azure.sdk.iot.device.transport.mqtt.exceptions._mqedc7bbc7cd215fa264730d3034a86582.yml
langs:
- java
name: MqttRejectedProtocolVersionException
nameWithType: MqttRejectedProtocolVersionException
fullName: com.microsoft.azure.sdk.iot.device.transport.mqtt.exceptions.MqttRejectedProtocolVersionException
type: Class
source:
remote: &o0
path: device/iot-device-client/src/main/java/com/microsoft/azure/sdk/iot/device/transport/mqtt/exceptions/MqttRejectedProtocolVersionException.java
branch: master
repo: https://github.com/Azure/azure-iot-sdk-java
path: device/iot-device-client/src/main/java/com/microsoft/azure/sdk/iot/device/transport/mqtt/exceptions/MqttRejectedProtocolVersionException.java
startLine: 15
package: com.microsoft.azure.sdk.iot.device.transport.mqtt.exceptions
summary: >-
<p>This exception is thrown when an MQTT Connection Return code of 0x01 is encountered when opening an MQTT connection</p>
<p>
<a href="http://docs.oasis-open.org/mqtt/mqtt/v3.1.1/csprd02/mqtt-v3.1.1-csprd02.html#_Toc385349771">MQTT Connect Return Code Documentation</a>
</p>
syntax:
content: public class MqttRejectedProtocolVersionException extends ProtocolException
inheritance:
- java.lang.Object
- Exception
- com.microsoft.azure.sdk.iot.device.exceptions._device_client_exception
- com.microsoft.azure.sdk.iot.device.exceptions._transport_exception
- com.microsoft.azure.sdk.iot.device.exceptions._protocol_exception
inheritedMembers:
- com.microsoft.azure.sdk.iot.device.exceptions._device_client_exception.DeviceClientException()
- com.microsoft.azure.sdk.iot.device.exceptions._device_client_exception.DeviceClientException(String)
- com.microsoft.azure.sdk.iot.device.exceptions._device_client_exception.DeviceClientException(String,Throwable)
- com.microsoft.azure.sdk.iot.device.exceptions._device_client_exception.DeviceClientException(Throwable)
- com.microsoft.azure.sdk.iot.device.exceptions._device_client_exception.DeviceClientException(String,Throwable,boolean,boolean)
- com.microsoft.azure.sdk.iot.device.exceptions._transport_exception.getIotHubService()
- com.microsoft.azure.sdk.iot.device.exceptions._transport_exception.iotHubService
- com.microsoft.azure.sdk.iot.device.exceptions._transport_exception.isRetryable
- com.microsoft.azure.sdk.iot.device.exceptions._transport_exception.isRetryable()
- com.microsoft.azure.sdk.iot.device.exceptions._protocol_exception.ProtocolException()
- com.microsoft.azure.sdk.iot.device.exceptions._protocol_exception.ProtocolException(String)
- com.microsoft.azure.sdk.iot.device.exceptions._protocol_exception.ProtocolException(String,Throwable)
- com.microsoft.azure.sdk.iot.device.exceptions._protocol_exception.ProtocolException(Throwable)
- com.microsoft.azure.sdk.iot.device.exceptions._transport_exception.setIotHubService(IotHubService)
- com.microsoft.azure.sdk.iot.device.exceptions._transport_exception.setRetryable(boolean)
- com.microsoft.azure.sdk.iot.device.exceptions._transport_exception.TransportException()
- com.microsoft.azure.sdk.iot.device.exceptions._transport_exception.TransportException(String)
- com.microsoft.azure.sdk.iot.device.exceptions._transport_exception.TransportException(String,Throwable)
- com.microsoft.azure.sdk.iot.device.exceptions._transport_exception.TransportException(Throwable)
- uid: com.microsoft.azure.sdk.iot.device.transport.mqtt.exceptions._mqedc7bbc7cd215fa264730d3034a86582.MqttRejectedProtocolVersionException()
id: MqttRejectedProtocolVersionException()
parent: com.microsoft.azure.sdk.iot.device.transport.mqtt.exceptions._mqedc7bbc7cd215fa264730d3034a86582
href: com.microsoft.azure.sdk.iot.device.transport.mqtt.exceptions._mqedc7bbc7cd215fa264730d3034a86582.yml
langs:
- java
name: MqttRejectedProtocolVersionException()
nameWithType: MqttRejectedProtocolVersionException.MqttRejectedProtocolVersionException()
fullName: com.microsoft.azure.sdk.iot.device.transport.mqtt.exceptions.MqttRejectedProtocolVersionException.MqttRejectedProtocolVersionException()
overload: com.microsoft.azure.sdk.iot.device.transport.mqtt.exceptions._mqedc7bbc7cd215fa264730d3034a86582.MqttRejectedProtocolVersionException*
type: Constructor
source:
remote: *o0
path: device/iot-device-client/src/main/java/com/microsoft/azure/sdk/iot/device/transport/mqtt/exceptions/MqttRejectedProtocolVersionException.java
startLine: 17
package: com.microsoft.azure.sdk.iot.device.transport.mqtt.exceptions
syntax:
content: public MqttRejectedProtocolVersionException()
- uid: com.microsoft.azure.sdk.iot.device.transport.mqtt.exceptions._mqedc7bbc7cd215fa264730d3034a86582.MqttRejectedProtocolVersionException(String)
id: MqttRejectedProtocolVersionException(String)
parent: com.microsoft.azure.sdk.iot.device.transport.mqtt.exceptions._mqedc7bbc7cd215fa264730d3034a86582
href: com.microsoft.azure.sdk.iot.device.transport.mqtt.exceptions._mqedc7bbc7cd215fa264730d3034a86582.yml
langs:
- java
name: MqttRejectedProtocolVersionException(String message)
nameWithType: MqttRejectedProtocolVersionException.MqttRejectedProtocolVersionException(String message)
fullName: com.microsoft.azure.sdk.iot.device.transport.mqtt.exceptions.MqttRejectedProtocolVersionException.MqttRejectedProtocolVersionException(String message)
overload: com.microsoft.azure.sdk.iot.device.transport.mqtt.exceptions._mqedc7bbc7cd215fa264730d3034a86582.MqttRejectedProtocolVersionException*
type: Constructor
source:
remote: *o0
path: device/iot-device-client/src/main/java/com/microsoft/azure/sdk/iot/device/transport/mqtt/exceptions/MqttRejectedProtocolVersionException.java
startLine: 22
package: com.microsoft.azure.sdk.iot.device.transport.mqtt.exceptions
syntax:
content: public MqttRejectedProtocolVersionException(String message)
parameters:
- id: message
type: "26831127"
- uid: com.microsoft.azure.sdk.iot.device.transport.mqtt.exceptions._mqedc7bbc7cd215fa264730d3034a86582.MqttRejectedProtocolVersionException(String,Throwable)
id: MqttRejectedProtocolVersionException(String,Throwable)
parent: com.microsoft.azure.sdk.iot.device.transport.mqtt.exceptions._mqedc7bbc7cd215fa264730d3034a86582
href: com.microsoft.azure.sdk.iot.device.transport.mqtt.exceptions._mqedc7bbc7cd215fa264730d3034a86582.yml
langs:
- java
name: MqttRejectedProtocolVersionException(String message, Throwable cause)
nameWithType: MqttRejectedProtocolVersionException.MqttRejectedProtocolVersionException(String message, Throwable cause)
fullName: com.microsoft.azure.sdk.iot.device.transport.mqtt.exceptions.MqttRejectedProtocolVersionException.MqttRejectedProtocolVersionException(String message, Throwable cause)
overload: com.microsoft.azure.sdk.iot.device.transport.mqtt.exceptions._mqedc7bbc7cd215fa264730d3034a86582.MqttRejectedProtocolVersionException*
type: Constructor
source:
remote: *o0
path: device/iot-device-client/src/main/java/com/microsoft/azure/sdk/iot/device/transport/mqtt/exceptions/MqttRejectedProtocolVersionException.java
startLine: 27
package: com.microsoft.azure.sdk.iot.device.transport.mqtt.exceptions
syntax:
content: public MqttRejectedProtocolVersionException(String message, Throwable cause)
parameters:
- id: message
type: "26831127"
- id: cause
type: a04fafd7
- uid: com.microsoft.azure.sdk.iot.device.transport.mqtt.exceptions._mqedc7bbc7cd215fa264730d3034a86582.MqttRejectedProtocolVersionException(Throwable)
id: MqttRejectedProtocolVersionException(Throwable)
parent: com.microsoft.azure.sdk.iot.device.transport.mqtt.exceptions._mqedc7bbc7cd215fa264730d3034a86582
href: com.microsoft.azure.sdk.iot.device.transport.mqtt.exceptions._mqedc7bbc7cd215fa264730d3034a86582.yml
langs:
- java
name: MqttRejectedProtocolVersionException(Throwable cause)
nameWithType: MqttRejectedProtocolVersionException.MqttRejectedProtocolVersionException(Throwable cause)
fullName: com.microsoft.azure.sdk.iot.device.transport.mqtt.exceptions.MqttRejectedProtocolVersionException.MqttRejectedProtocolVersionException(Throwable cause)
overload: com.microsoft.azure.sdk.iot.device.transport.mqtt.exceptions._mqedc7bbc7cd215fa264730d3034a86582.MqttRejectedProtocolVersionException*
type: Constructor
source:
remote: *o0
path: device/iot-device-client/src/main/java/com/microsoft/azure/sdk/iot/device/transport/mqtt/exceptions/MqttRejectedProtocolVersionException.java
startLine: 32
package: com.microsoft.azure.sdk.iot.device.transport.mqtt.exceptions
syntax:
content: public MqttRejectedProtocolVersionException(Throwable cause)
parameters:
- id: cause
type: a04fafd7
references:
- uid: com.microsoft.azure.sdk.iot.device.transport.mqtt.exceptions._mqedc7bbc7cd215fa264730d3034a86582.MqttRejectedProtocolVersionException*
name: MqttRejectedProtocolVersionException
nameWithType: MqttRejectedProtocolVersionException.MqttRejectedProtocolVersionException
fullName: com.microsoft.azure.sdk.iot.device.transport.mqtt.exceptions.MqttRejectedProtocolVersionException.MqttRejectedProtocolVersionException
package: com.microsoft.azure.sdk.iot.device.transport.mqtt.exceptions
- uid: "26831127"
spec.java:
- name: String
fullName: String
- uid: a04fafd7
spec.java:
- name: Throwable
fullName: Throwable
- uid: com.microsoft.azure.sdk.iot.device.exceptions._device_client_exception.DeviceClientException()
parent: com.microsoft.azure.sdk.iot.device.exceptions._device_client_exception
href: com.microsoft.azure.sdk.iot.device.exceptions._device_client_exception.yml
name: DeviceClientException()
nameWithType: DeviceClientException.DeviceClientException()
fullName: com.microsoft.azure.sdk.iot.device.exceptions.DeviceClientException.DeviceClientException()
type: Constructor
syntax:
content: public DeviceClientException()
- uid: com.microsoft.azure.sdk.iot.device.exceptions._device_client_exception.DeviceClientException(String)
parent: com.microsoft.azure.sdk.iot.device.exceptions._device_client_exception
href: com.microsoft.azure.sdk.iot.device.exceptions._device_client_exception.yml
name: DeviceClientException(String message)
nameWithType: DeviceClientException.DeviceClientException(String message)
fullName: com.microsoft.azure.sdk.iot.device.exceptions.DeviceClientException.DeviceClientException(String message)
type: Constructor
syntax:
content: public DeviceClientException(String message)
parameters:
- id: message
type: "26831127"
- uid: com.microsoft.azure.sdk.iot.device.exceptions._device_client_exception.DeviceClientException(String,Throwable)
parent: com.microsoft.azure.sdk.iot.device.exceptions._device_client_exception
href: com.microsoft.azure.sdk.iot.device.exceptions._device_client_exception.yml
name: DeviceClientException(String message, Throwable cause)
nameWithType: DeviceClientException.DeviceClientException(String message, Throwable cause)
fullName: com.microsoft.azure.sdk.iot.device.exceptions.DeviceClientException.DeviceClientException(String message, Throwable cause)
type: Constructor
syntax:
content: public DeviceClientException(String message, Throwable cause)
parameters:
- id: message
type: "26831127"
- id: cause
type: a04fafd7
- uid: com.microsoft.azure.sdk.iot.device.exceptions._device_client_exception.DeviceClientException(Throwable)
parent: com.microsoft.azure.sdk.iot.device.exceptions._device_client_exception
href: com.microsoft.azure.sdk.iot.device.exceptions._device_client_exception.yml
name: DeviceClientException(Throwable cause)
nameWithType: DeviceClientException.DeviceClientException(Throwable cause)
fullName: com.microsoft.azure.sdk.iot.device.exceptions.DeviceClientException.DeviceClientException(Throwable cause)
type: Constructor
syntax:
content: public DeviceClientException(Throwable cause)
parameters:
- id: cause
type: a04fafd7
- uid: com.microsoft.azure.sdk.iot.device.exceptions._device_client_exception.DeviceClientException(String,Throwable,boolean,boolean)
parent: com.microsoft.azure.sdk.iot.device.exceptions._device_client_exception
href: com.microsoft.azure.sdk.iot.device.exceptions._device_client_exception.yml
name: DeviceClientException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace)
nameWithType: DeviceClientException.DeviceClientException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace)
fullName: com.microsoft.azure.sdk.iot.device.exceptions.DeviceClientException.DeviceClientException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace)
type: Constructor
syntax:
content: public DeviceClientException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace)
parameters:
- id: message
type: "26831127"
- id: cause
type: a04fafd7
- id: enableSuppression
type: 4fc6e284
- id: writableStackTrace
type: 4fc6e284
- uid: com.microsoft.azure.sdk.iot.device.exceptions._transport_exception.getIotHubService()
parent: com.microsoft.azure.sdk.iot.device.exceptions._transport_exception
href: com.microsoft.azure.sdk.iot.device.exceptions._transport_exception.yml
name: getIotHubService()
nameWithType: TransportException.getIotHubService()
fullName: com.microsoft.azure.sdk.iot.device.exceptions.TransportException.getIotHubService()
type: Method
syntax:
content: public IotHubService getIotHubService()
return:
type: com.microsoft.azure.sdk.iot.device.exceptions._transport_exception._iot_hub_service
- uid: com.microsoft.azure.sdk.iot.device.exceptions._transport_exception.iotHubService
parent: com.microsoft.azure.sdk.iot.device.exceptions._transport_exception
href: com.microsoft.azure.sdk.iot.device.exceptions._transport_exception.yml
name: iotHubService
nameWithType: TransportException.iotHubService
fullName: com.microsoft.azure.sdk.iot.device.exceptions.TransportException.iotHubService
type: Field
syntax:
content: protected IotHubService iotHubService= NOT_APPLICABLE
return:
type: com.microsoft.azure.sdk.iot.device.exceptions._transport_exception._iot_hub_service
- uid: com.microsoft.azure.sdk.iot.device.exceptions._transport_exception.isRetryable
parent: com.microsoft.azure.sdk.iot.device.exceptions._transport_exception
href: com.microsoft.azure.sdk.iot.device.exceptions._transport_exception.yml
name: isRetryable
nameWithType: TransportException.isRetryable
fullName: com.microsoft.azure.sdk.iot.device.exceptions.TransportException.isRetryable
type: Field
syntax:
content: protected boolean isRetryable= false
return:
type: 4fc6e284
- uid: com.microsoft.azure.sdk.iot.device.exceptions._transport_exception.isRetryable()
parent: com.microsoft.azure.sdk.iot.device.exceptions._transport_exception
href: com.microsoft.azure.sdk.iot.device.exceptions._transport_exception.yml
name: isRetryable()
nameWithType: TransportException.isRetryable()
fullName: com.microsoft.azure.sdk.iot.device.exceptions.TransportException.isRetryable()
type: Method
syntax:
content: public boolean isRetryable()
return:
type: 4fc6e284
- uid: com.microsoft.azure.sdk.iot.device.exceptions._protocol_exception.ProtocolException()
parent: com.microsoft.azure.sdk.iot.device.exceptions._protocol_exception
href: com.microsoft.azure.sdk.iot.device.exceptions._protocol_exception.yml
name: ProtocolException()
nameWithType: ProtocolException.ProtocolException()
fullName: com.microsoft.azure.sdk.iot.device.exceptions.ProtocolException.ProtocolException()
type: Constructor
syntax:
content: public ProtocolException()
- uid: com.microsoft.azure.sdk.iot.device.exceptions._protocol_exception.ProtocolException(String)
parent: com.microsoft.azure.sdk.iot.device.exceptions._protocol_exception
href: com.microsoft.azure.sdk.iot.device.exceptions._protocol_exception.yml
name: ProtocolException(String message)
nameWithType: ProtocolException.ProtocolException(String message)
fullName: com.microsoft.azure.sdk.iot.device.exceptions.ProtocolException.ProtocolException(String message)
type: Constructor
syntax:
content: public ProtocolException(String message)
parameters:
- id: message
type: "26831127"
- uid: com.microsoft.azure.sdk.iot.device.exceptions._protocol_exception.ProtocolException(String,Throwable)
parent: com.microsoft.azure.sdk.iot.device.exceptions._protocol_exception
href: com.microsoft.azure.sdk.iot.device.exceptions._protocol_exception.yml
name: ProtocolException(String message, Throwable cause)
nameWithType: ProtocolException.ProtocolException(String message, Throwable cause)
fullName: com.microsoft.azure.sdk.iot.device.exceptions.ProtocolException.ProtocolException(String message, Throwable cause)
type: Constructor
syntax:
content: public ProtocolException(String message, Throwable cause)
parameters:
- id: message
type: "26831127"
- id: cause
type: a04fafd7
- uid: com.microsoft.azure.sdk.iot.device.exceptions._protocol_exception.ProtocolException(Throwable)
parent: com.microsoft.azure.sdk.iot.device.exceptions._protocol_exception
href: com.microsoft.azure.sdk.iot.device.exceptions._protocol_exception.yml
name: ProtocolException(Throwable cause)
nameWithType: ProtocolException.ProtocolException(Throwable cause)
fullName: com.microsoft.azure.sdk.iot.device.exceptions.ProtocolException.ProtocolException(Throwable cause)
type: Constructor
syntax:
content: public ProtocolException(Throwable cause)
parameters:
- id: cause
type: a04fafd7
- uid: com.microsoft.azure.sdk.iot.device.exceptions._transport_exception.setIotHubService(IotHubService)
parent: com.microsoft.azure.sdk.iot.device.exceptions._transport_exception
href: com.microsoft.azure.sdk.iot.device.exceptions._transport_exception.yml
name: setIotHubService(IotHubService iotHubService)
nameWithType: TransportException.setIotHubService(IotHubService iotHubService)
fullName: com.microsoft.azure.sdk.iot.device.exceptions.TransportException.setIotHubService(IotHubService iotHubService)
type: Method
syntax:
content: public void setIotHubService(IotHubService iotHubService)
parameters:
- id: iotHubService
type: com.microsoft.azure.sdk.iot.device.exceptions._transport_exception._iot_hub_service
- uid: com.microsoft.azure.sdk.iot.device.exceptions._transport_exception.setRetryable(boolean)
parent: com.microsoft.azure.sdk.iot.device.exceptions._transport_exception
href: com.microsoft.azure.sdk.iot.device.exceptions._transport_exception.yml
name: setRetryable(boolean isRetryable)
nameWithType: TransportException.setRetryable(boolean isRetryable)
fullName: com.microsoft.azure.sdk.iot.device.exceptions.TransportException.setRetryable(boolean isRetryable)
type: Method
syntax:
content: public void setRetryable(boolean isRetryable)
parameters:
- id: isRetryable
type: 4fc6e284
- uid: com.microsoft.azure.sdk.iot.device.exceptions._transport_exception.TransportException()
parent: com.microsoft.azure.sdk.iot.device.exceptions._transport_exception
href: com.microsoft.azure.sdk.iot.device.exceptions._transport_exception.yml
name: TransportException()
nameWithType: TransportException.TransportException()
fullName: com.microsoft.azure.sdk.iot.device.exceptions.TransportException.TransportException()
type: Constructor
syntax:
content: public TransportException()
- uid: com.microsoft.azure.sdk.iot.device.exceptions._transport_exception.TransportException(String)
parent: com.microsoft.azure.sdk.iot.device.exceptions._transport_exception
href: com.microsoft.azure.sdk.iot.device.exceptions._transport_exception.yml
name: TransportException(String message)
nameWithType: TransportException.TransportException(String message)
fullName: com.microsoft.azure.sdk.iot.device.exceptions.TransportException.TransportException(String message)
type: Constructor
syntax:
content: public TransportException(String message)
parameters:
- id: message
type: "26831127"
- uid: com.microsoft.azure.sdk.iot.device.exceptions._transport_exception.TransportException(String,Throwable)
parent: com.microsoft.azure.sdk.iot.device.exceptions._transport_exception
href: com.microsoft.azure.sdk.iot.device.exceptions._transport_exception.yml
name: TransportException(String message, Throwable cause)
nameWithType: TransportException.TransportException(String message, Throwable cause)
fullName: com.microsoft.azure.sdk.iot.device.exceptions.TransportException.TransportException(String message, Throwable cause)
type: Constructor
syntax:
content: public TransportException(String message, Throwable cause)
parameters:
- id: message
type: "26831127"
- id: cause
type: a04fafd7
- uid: com.microsoft.azure.sdk.iot.device.exceptions._transport_exception.TransportException(Throwable)
parent: com.microsoft.azure.sdk.iot.device.exceptions._transport_exception
href: com.microsoft.azure.sdk.iot.device.exceptions._transport_exception.yml
name: TransportException(Throwable cause)
nameWithType: TransportException.TransportException(Throwable cause)
fullName: com.microsoft.azure.sdk.iot.device.exceptions.TransportException.TransportException(Throwable cause)
type: Constructor
syntax:
content: public TransportException(Throwable cause)
parameters:
- id: cause
type: a04fafd7
- uid: com.microsoft.azure.sdk.iot.device.exceptions._protocol_exception
parent: com.microsoft.azure.sdk.iot.device.exceptions
href: com.microsoft.azure.sdk.iot.device.exceptions._protocol_exception.yml
name: ProtocolException
nameWithType: ProtocolException
fullName: com.microsoft.azure.sdk.iot.device.exceptions.ProtocolException
type: Class
summary: <p>Exception class that covers all exceptions that occur within transport protocol communication. For example, if a amqp:connection:forced exception is given by AMQP. </p>
syntax:
content: public class ProtocolException