TransportException Class

  • java.lang.Object
    • Exception
      • com.microsoft.azure.sdk.iot.device.transport.TransportException

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)
IotHubClientException 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