TransportException 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.
- com.
- java.
- java.
public class TransportException
extends DeviceClientException
Field Summary
Modifier and Type | Field and Description |
---|---|
protected
Iot |
iotHubService |
protected boolean | isRetryable |
Constructor Summary
Constructor | Description | |
---|---|---|
TransportException() | ||
TransportException(String message) | ||
TransportException(String message, Throwable cause) | ||
TransportException(Throwable cause) |
Method Summary
Modifier and Type | Method and Description |
---|---|
Iot |
getIotHubService() |
boolean | isRetryable() |
void | setIotHubService(TransportException.IotHubService iotHubService) |
void | setRetryable(boolean isRetryable) |
Methods inherited from java.lang.Object
Methods inherited from java.lang.Throwable
Field Details
iotHubService
protected TransportException.IotHubService iotHubService
isRetryable
protected boolean isRetryable
Constructor Details
TransportException
public TransportException()
TransportException
public TransportException(String message)
Parameters:
TransportException
public TransportException(String message, Throwable cause)
Parameters:
TransportException
public TransportException(Throwable cause)
Parameters:
Method Details
getIotHubService
public TransportException.IotHubService getIotHubService()
isRetryable
public boolean isRetryable()
setIotHubService
public void setIotHubService(TransportException.IotHubService iotHubService)
Parameters:
setRetryable
public void setRetryable(boolean isRetryable)
Parameters:
Applies to
Azure SDK for Java