TransportException Class
- java.
lang. Object - Exception
- com.
microsoft. azure. sdk. iot. device. transport. TransportException
- com.
public class TransportException
Field Summary
Modifier and Type | Field and Description |
---|---|
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 |
---|---|
boolean | isRetryable() |
void | setRetryable(boolean isRetryable) |
Iot |
toIotHubClientException() |
Field Details
isRetryable
protected boolean isRetryable= false
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
isRetryable
public boolean isRetryable()
setRetryable
public void setRetryable(boolean isRetryable)
Parameters:
toIotHubClientException
public IotHubClientException toIotHubClientException()