Package com.azure.messaging.servicebus
Class ServiceBusFailureReason
java.lang.Object
com.azure.core.util.ExpandableStringEnum<ServiceBusFailureReason>
com.azure.messaging.servicebus.ServiceBusFailureReason
public final class ServiceBusFailureReason
extends com.azure.core.util.ExpandableStringEnum<ServiceBusFailureReason>
The set of well-known reasons for an Service Bus operation failure that was the cause of an exception.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final ServiceBusFailureReason
The exception was the result of a general error within the client library.static final ServiceBusFailureReason
The lock on the message is lost.static final ServiceBusFailureReason
The requested message was not found.static final ServiceBusFailureReason
A message is larger than the maximum size allowed for its transport.static final ServiceBusFailureReason
An entity with the same name exists under the same namespace.static final ServiceBusFailureReason
The Messaging Entity is disabled.static final ServiceBusFailureReason
A Service Bus resource cannot be found by the Service Bus service.static final ServiceBusFailureReason
The quota applied to an Service Bus resource has been exceeded while interacting with the Azure Service Bus service.static final ServiceBusFailureReason
The Azure Service Bus service reports that it is busy in response to a client request to perform an operation .static final ServiceBusFailureReason
There was a general communications error encountered when interacting with the Azure Service Bus service.static final ServiceBusFailureReason
An operation or other request timed out while interacting with the Azure Service Bus service.static final ServiceBusFailureReason
The requested session cannot be locked.static final ServiceBusFailureReason
The lock on the session has expired.static final ServiceBusFailureReason
The user doesn't have access to the entity. -
Constructor Summary
-
Method Summary
Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, hashCode, toString, values
-
Field Details
-
GENERAL_ERROR
The exception was the result of a general error within the client library. -
MESSAGE_LOCK_LOST
The lock on the message is lost. Callers should call attempt to receive and process the message again. -
MESSAGE_NOT_FOUND
The requested message was not found. -
MESSAGE_SIZE_EXCEEDED
A message is larger than the maximum size allowed for its transport. -
MESSAGING_ENTITY_ALREADY_EXISTS
An entity with the same name exists under the same namespace. -
MESSAGING_ENTITY_DISABLED
The Messaging Entity is disabled. Enable the entity again using Portal. -
MESSAGING_ENTITY_NOT_FOUND
A Service Bus resource cannot be found by the Service Bus service. -
QUOTA_EXCEEDED
The quota applied to an Service Bus resource has been exceeded while interacting with the Azure Service Bus service. -
SERVICE_BUSY
The Azure Service Bus service reports that it is busy in response to a client request to perform an operation . -
SERVICE_TIMEOUT
An operation or other request timed out while interacting with the Azure Service Bus service. -
SERVICE_COMMUNICATION_ERROR
There was a general communications error encountered when interacting with the Azure Service Bus service. -
SESSION_CANNOT_BE_LOCKED
The requested session cannot be locked. -
SESSION_LOCK_LOST
The lock on the session has expired. Callers should request the session again. -
UNAUTHORIZED
The user doesn't have access to the entity.
-
-
Constructor Details
-
ServiceBusFailureReason
public ServiceBusFailureReason()
-