public class AmqpErrorContext extends Object implements Serializable
AmqpException,
SessionErrorContext,
LinkErrorContext,
Serialized Form| Constructor and Description |
|---|
AmqpErrorContext(String namespace)
Creates a new instance with the provided
namespace. |
| Modifier and Type | Method and Description |
|---|---|
String |
getNamespace()
Gets the namespace for this error.
|
String |
toString()
Creates a string representation of this ErrorContext.
|
public AmqpErrorContext(String namespace)
namespace.namespace - The service namespace of the error.IllegalArgumentException - when namespace is null or empty.public String getNamespace()
Copyright © 2021 Microsoft Corporation. All rights reserved.