AmqpLinkStolenException Class
- java.
lang. Object - Exception
- TransportException
- ProtocolException
- com.
microsoft. azure. sdk. iot. device. transport. amqps. exceptions. AmqpLinkStolenException
- com.
public class AmqpLinkStolenException extends ProtocolException
This exception is thrown when a amqp:link:stolen error is encountered over an AMQP connection
Field Summary
Modifier and Type | Field and Description |
---|---|
final String | errorCode |
Constructor Summary
Constructor | Description | |
---|---|---|
AmqpLinkStolenException() | ||
AmqpLinkStolenException(String message) | ||
AmqpLinkStolenException(String message, Throwable cause) | ||
AmqpLinkStolenException(Throwable cause) |
Inherited Members
TransportException.isRetryable
TransportException.isRetryable()
ProtocolException.ProtocolException()
ProtocolException.ProtocolException(String message)
ProtocolException.ProtocolException(String message, Throwable cause)
ProtocolException.ProtocolException(Throwable cause)
TransportException.setRetryable(boolean isRetryable)
TransportException.toIotHubClientException()
TransportException.TransportException()
TransportException.TransportException(String message)
TransportException.TransportException(String message, Throwable cause)
TransportException.TransportException(Throwable cause)
Field Details
errorCode
public static final String errorCode= "amqp:link:stolen"
Constructor Details
AmqpLinkStolenException
public AmqpLinkStolenException()
AmqpLinkStolenException
public AmqpLinkStolenException(String message)
Parameters:
message
AmqpLinkStolenException
public AmqpLinkStolenException(String message, Throwable cause)
Parameters:
message
cause
AmqpLinkStolenException
public AmqpLinkStolenException(Throwable cause)
Parameters:
cause
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