IotHubClientException Class
- java.
lang. Object - Exception
- com.
microsoft. azure. sdk. iot. device. exceptions. IotHubClientException
- com.
public class IotHubClientException
Exception that can occur when using a DeviceClient, ModuleClient, or a MultiplexingClient. Each instance contains the status code of the error as well as the recommendation on whether the request that resulted in this exception is retryable or not.
Constructor Summary
Constructor Details
IotHubClientException
public IotHubClientException(IotHubStatusCode statusCode)
Parameters:
IotHubClientException
public IotHubClientException(IotHubStatusCode statusCode, Exception nestedException)
Parameters:
IotHubClientException
public IotHubClientException(IotHubStatusCode statusCode, String errorMessage)
Parameters:
IotHubClientException
public IotHubClientException(IotHubStatusCode statusCode, String errorMessage, Exception nestedException)
Parameters:
Applies to
Azure SDK for Java