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:
message
TransportException
public TransportException(String message, Throwable cause)
Parameters:
message
cause
TransportException
public TransportException(Throwable cause)
Parameters:
cause
Method Details
isRetryable
public boolean isRetryable()
setRetryable
public void setRetryable(boolean isRetryable)
Parameters:
isRetryable
toIotHubClientException
public IotHubClientException toIotHubClientException()
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Java