Skip to content
Permalink
Fetching contributors…
Cannot retrieve contributors at this time
43 lines (35 sloc) 1.13 KB
/*
* 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.transport.amqps.exceptions;
import com.microsoft.azure.sdk.iot.device.exceptions.ProtocolException;
/**
* This exception is thrown when a amqp:link:stolen error is encountered over an AMQP connection
*
<a href="http://docs.oasis-open.org/amqp/core/v1.0/os/amqp-core-complete-v1.0-os.pdf">For additional details, see this link</a>
*/
public class AmqpLinkStolenException extends ProtocolException
{
public static final String errorCode = "amqp:link:stolen";
public AmqpLinkStolenException()
{
super();
this.isRetryable = true;
}
public AmqpLinkStolenException(String message)
{
super(message);
this.isRetryable = true;
}
public AmqpLinkStolenException(String message, Throwable cause)
{
super(message, cause);
this.isRetryable = true;
}
public AmqpLinkStolenException(Throwable cause)
{
super(cause);
this.isRetryable = true;
}
}
You can’t perform that action at this time.