Class ServiceBusFailureReason

java.lang.Object
com.azure.core.util.ExpandableStringEnum<ServiceBusFailureReason>
com.azure.messaging.servicebus.ServiceBusFailureReason

public final class ServiceBusFailureReason extends ExpandableStringEnum<ServiceBusFailureReason>
The set of well-known reasons for an Service Bus operation failure that was the cause of an exception.
  • Field Details

    • GENERAL_ERROR

      public static final ServiceBusFailureReason GENERAL_ERROR
      The exception was the result of a general error within the client library.
    • MESSAGE_LOCK_LOST

      public static final ServiceBusFailureReason MESSAGE_LOCK_LOST
      The lock on the message is lost. Callers should call attempt to receive and process the message again.
    • MESSAGE_NOT_FOUND

      public static final ServiceBusFailureReason MESSAGE_NOT_FOUND
      The requested message was not found.
    • MESSAGE_SIZE_EXCEEDED

      public static final ServiceBusFailureReason MESSAGE_SIZE_EXCEEDED
      A message is larger than the maximum size allowed for its transport.
    • MESSAGING_ENTITY_ALREADY_EXISTS

      public static final ServiceBusFailureReason MESSAGING_ENTITY_ALREADY_EXISTS
      An entity with the same name exists under the same namespace.
    • MESSAGING_ENTITY_DISABLED

      public static final ServiceBusFailureReason MESSAGING_ENTITY_DISABLED
      The Messaging Entity is disabled. Enable the entity again using Portal.
    • MESSAGING_ENTITY_NOT_FOUND

      public static final ServiceBusFailureReason MESSAGING_ENTITY_NOT_FOUND
      A Service Bus resource cannot be found by the Service Bus service.
    • QUOTA_EXCEEDED

      public static final ServiceBusFailureReason QUOTA_EXCEEDED
      The quota applied to an Service Bus resource has been exceeded while interacting with the Azure Service Bus service.
    • SERVICE_BUSY

      public static final ServiceBusFailureReason SERVICE_BUSY
      The Azure Service Bus service reports that it is busy in response to a client request to perform an operation .
    • SERVICE_TIMEOUT

      public static final ServiceBusFailureReason SERVICE_TIMEOUT
      An operation or other request timed out while interacting with the Azure Service Bus service.
    • SERVICE_COMMUNICATION_ERROR

      public static final ServiceBusFailureReason SERVICE_COMMUNICATION_ERROR
      There was a general communications error encountered when interacting with the Azure Service Bus service.
    • SESSION_CANNOT_BE_LOCKED

      public static final ServiceBusFailureReason SESSION_CANNOT_BE_LOCKED
      The requested session cannot be locked.
    • SESSION_LOCK_LOST

      public static final ServiceBusFailureReason SESSION_LOCK_LOST
      The lock on the session has expired. Callers should request the session again.
    • UNAUTHORIZED

      public static final ServiceBusFailureReason UNAUTHORIZED
      The user doesn't have access to the entity.
  • Constructor Details

    • ServiceBusFailureReason

      public ServiceBusFailureReason()