ServiceBusErrorContext Class
- java.
lang. Object - com.
azure. messaging. servicebus. ServiceBusErrorContext
- com.
public final class ServiceBusErrorContext
Context for errors handled by the ServiceBusProcessorClient.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
getEntityPath()
Gets the entity path associated with the error event. |
|
Service |
getErrorSource()
Gets the source associated with the error. |
| Throwable |
getException()
Gets the exception that triggered the call to the error event handler. |
| String |
getFullyQualifiedNamespace()
Gets the namespace name associated with the error event. |
Methods inherited from java.lang.Object
Method Details
getEntityPath
public String getEntityPath()
Gets the entity path associated with the error event.
Returns:
getErrorSource
public ServiceBusErrorSource getErrorSource()
Gets the source associated with the error.
Returns:
getException
public Throwable getException()
Gets the exception that triggered the call to the error event handler.
Returns:
getFullyQualifiedNamespace
public String getFullyQualifiedNamespace()
Gets the namespace name associated with the error event.
Returns: