Package com.azure.messaging.servicebus
Class ServiceBusErrorContext
java.lang.Object
com.azure.messaging.servicebus.ServiceBusErrorContext
Context for errors handled by the
Service Bus processor
.- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionGets the entity path associated with the error event.Gets the source associated with the error.Gets the exception that triggered the call to the error event handler.Gets the namespace name associated with the error event.
-
Method Details
-
getException
Gets the exception that triggered the call to the error event handler.- Returns:
- The exception that triggered the call to the error event handler.
-
getErrorSource
Gets the source associated with the error.- Returns:
- The source associated with the error.
-
getFullyQualifiedNamespace
Gets the namespace name associated with the error event.- Returns:
- The namespace name associated with the error event.
-
getEntityPath
Gets the entity path associated with the error event.- Returns:
- The entity path associated with the error event.
-