AmqpErrorCondition Enum
- java.
lang. Object - java.
lang. Enum - com.
azure. core. amqp. exception. AmqpErrorCondition
- com.
- java.
public enum AmqpErrorCondition
extends Enum<AmqpErrorCondition>
Contains constants common to the AMQP protocol and constants shared by Azure services.
Fields
ARGUMENT_ERROR |
One or more arguments supplied to the method are invalid. |
ARGUMENT_OUT_OF_RANGE_ERROR |
One or more arguments supplied to the method are invalid. |
CONNECTION_FORCED |
An operator intervened to close the connection for some reason. |
CONNECTION_FRAMING_ERROR |
A connection error occurred. |
CONNECTION_REDIRECT |
The container is no longer available on the current connection. |
ENTITY_ALREADY_EXISTS |
Error condition when a subscription client tries to create a rule with the name of an already existing rule. |
ENTITY_DISABLED_ERROR |
Request for a runtime operation on a disabled entity. |
ILLEGAL_STATE |
The peer sent a frame that is not permitted in the current state. |
INTERNAL_ERROR |
An internal error occurred. |
LINK_DETACH_FORCED |
An operator intervened to detach for some reason. |
LINK_PAYLOAD_SIZE_EXCEEDED |
The peer sent a larger message than is supported on the link. |
LINK_REDIRECT |
The address provided cannot be resolved to a terminus at the current container. |
LINK_STOLEN |
The link has been attached elsewhere, causing the existing attachment to be forcibly closed. |
MESSAGE_LOCK_LOST |
Error condition when receiver attempts |
MESSAGE_NOT_FOUND |
Error condition when a receiver attempts to receive a message with sequence number and the message with that sequence number is not available in the queue or subscription. |
NOT_ALLOWED |
The peer tried to use a frame in a manner that is inconsistent with the semantics defined in the specification. |
NOT_FOUND |
A peer attempted to work with a remote entity that does not exist. |
NOT_IMPLEMENTED |
The peer tried to use functionality that is not implemented in its partner. |
OPERATION_CANCELLED |
The operation was cancelled. |
PARTITION_NOT_OWNED_ERROR |
Partition is not owned. |
PROTON_IO |
IO exceptions that occur in proton-j library. |
PUBLISHER_REVOKED_ERROR |
The Token |
RESOURCE_LIMIT_EXCEEDED |
A peer exceeded its resource allocation. |
SERVER_BUSY_ERROR |
The server is busy. |
SESSION_CANNOT_BE_LOCKED |
Error condition when a client attempts to accept a session that is already locked by another client. |
SESSION_LOCK_LOST |
Error condition when a session receiver performs an operation on a session after its lock is expired. |
SESSION_NOT_FOUND |
Error condition when a receiver attempts to receive from a session that does not exist. |
STORE_LOCK_LOST_ERROR |
Lock token associated with the message or session has expired, or the lock token is not found. |
TIMEOUT_ERROR |
The server did not respond to the requested operation within the specified time. |
TRACKING_ID_PROPERTY |
Tracking Id for an exception. |
TRANSFER_LIMIT_EXCEEDED |
The peer sent more message transfers than currently allowed on the link. |
UNAUTHORIZED_ACCESS |
A peer attempted to work with a remote entity to which it has no access due to security settings. |
Methods inherited from java.lang.Enum
Methods inherited from java.lang.Object
Methods
fromString(String errorCondition)
public static AmqpErrorCondition fromString(String errorCondition)
Parses a serialized value to an ErrorCondition instance.
Parameters
- errorCondition
- String
Returns
getErrorCondition()
public String getErrorCondition()
Gets the AMQP header value for this error condition.
Returns
valueOf(String name)
values()
Applies to
Azure SDK for Java