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
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
Azure SDK for Java