| Package | Description |
|---|---|
| com.azure.core.amqp.exception |
Package containing classes related to AMQP exceptions.
|
| Modifier and Type | Class and Description |
|---|---|
class |
LinkErrorContext
Represents the context for an AMQP link when an
AmqpException occurs. |
class |
SessionErrorContext
Context for an error that occurs in an AMQP session when an
AmqpException occurs. |
| Modifier and Type | Method and Description |
|---|---|
AmqpErrorContext |
AmqpException.getContext()
Gets the context for this exception.
|
| Constructor and Description |
|---|
AmqpException(boolean isTransient,
AmqpErrorCondition errorCondition,
String message,
AmqpErrorContext errorContext)
Initializes a new instance of the AmqpException class.
|
AmqpException(boolean isTransient,
AmqpErrorCondition errorCondition,
String message,
Throwable cause,
AmqpErrorContext errorContext)
Initializes a new instance of the AmqpException class.
|
AmqpException(boolean isTransient,
AmqpErrorCondition errorCondition,
Throwable cause,
AmqpErrorContext errorContext)
Initializes a new instance of the AmqpException class.
|
AmqpException(boolean isTransient,
String message,
AmqpErrorContext errorContext)
Initializes a new instance of the AmqpException class.
|
AmqpException(boolean isTransient,
String message,
Throwable cause,
AmqpErrorContext errorContext)
Initializes a new instance of the AmqpException class.
|
OperationCancelledException(String message,
AmqpErrorContext context)
Creates an instance of this exception with provided
message. |
OperationCancelledException(String message,
Throwable cause,
AmqpErrorContext context)
Creates an instance of this exception with provided
message and underlying cause. |
Copyright © 2020 Microsoft Corporation. All rights reserved.