com.microsoft.azure.sdk.iot.device.exceptions.ThrottledException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of iot-device-client Show documentation
Show all versions of iot-device-client Show documentation
The Microsoft Azure IoT Device SDK for Java
/*
* Copyright (c) Microsoft. All rights reserved.
* Licensed under the MIT license. See LICENSE file in the project root for full license information.
*/
package com.microsoft.azure.sdk.iot.device.exceptions;
import com.microsoft.azure.sdk.iot.device.IotHubStatusCode;
public class ThrottledException extends IotHubServiceException
{
public ThrottledException()
{
super();
this.isRetryable = true;
}
public ThrottledException(String message)
{
super(message);
this.isRetryable = true;
}
public ThrottledException(String message, Throwable cause)
{
super(message, cause);
this.isRetryable = true;
}
public ThrottledException(Throwable cause)
{
super(cause);
this.isRetryable = true;
}
@Override
public IotHubStatusCode getStatusCode()
{
return IotHubStatusCode.THROTTLED;
}
}