public class SessionErrorContext extends AmqpErrorContext
AmqpException occurs.| Constructor and Description |
|---|
SessionErrorContext(String namespace,
String entityPath)
Creates a new instance with the
namespace and entityPath. |
| Modifier and Type | Method and Description |
|---|---|
String |
getEntityPath()
Gets the remote path this AMQP entity was connected to when the error occurred.
|
String |
toString()
Creates a string representation of this ErrorContext.
|
getNamespacepublic SessionErrorContext(String namespace, String entityPath)
namespace and entityPath.namespace - The service namespace of the error.entityPath - The remote endpoint this AMQP session is connected to when the error occurred.IllegalArgumentException - if namespace or entityPath is null or empty.public String getEntityPath()
public String toString()
AmqpErrorContexttoString in class AmqpErrorContextCopyright © 2021 Microsoft Corporation. All rights reserved.