| Package | Description |
|---|---|
| com.azure.core.amqp.exception |
Package containing classes related to AMQP exceptions.
|
| Modifier and Type | Method and Description |
|---|---|
static AmqpErrorCondition |
AmqpErrorCondition.fromString(String errorCondition)
Parses a serialized value to an ErrorCondition instance.
|
AmqpErrorCondition |
AmqpException.getErrorCondition()
Gets the
AmqpErrorCondition for this exception. |
static AmqpErrorCondition |
AmqpErrorCondition.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AmqpErrorCondition[] |
AmqpErrorCondition.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| 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.
|
Copyright © 2021 Microsoft Corporation. All rights reserved.