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
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
Field Details
iotHubService
protected TransportException.IotHubService iotHubService
isRetryable
protected boolean isRetryable
Constructor Details
TransportException
public TransportException()
TransportException
public TransportException(String message)
Parameters:
message
TransportException
public TransportException(String message, Throwable cause)
Parameters:
message
cause
TransportException
public TransportException(Throwable cause)
Parameters:
cause
Method Details
getIotHubService
public TransportException.IotHubService getIotHubService()
isRetryable
public boolean isRetryable()
setIotHubService
public void setIotHubService(TransportException.IotHubService iotHubService)
Parameters:
iotHubService
setRetryable
public void setRetryable(boolean isRetryable)
Parameters:
isRetryable
Applies to
Berkolaborasi dengan kami di GitHub
Sumber untuk konten ini dapat ditemukan di GitHub, yang juga dapat Anda gunakan untuk membuat dan meninjau masalah dan menarik permintaan. Untuk informasi selengkapnya, lihat panduan kontributor kami.
Azure SDK for Java