public enum AmqpErrorCondition extends Enum<AmqpErrorCondition>
| Enum Constant and Description |
|---|
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.
|
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_STOLEN
The link has been attached elsewhere, causing the existing attachment to be forcibly closed.
|
MESSAGE_LOCK_LOST
Error condition when receiver attempts
complete, abandon, renewLock, deadLetter,
or defer on a peek-locked message whose lock had already expired. |
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 TokenProvider object could not acquire a token, the token is invalid, or the token does not contain the
claims required to perform the operation.
|
RESOURCE_LIMIT_EXCEEDED
A peer exceeded its resource allocation.
|
SERVER_BUSY_ERROR |
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.
|
UNAUTHORIZED_ACCESS
A peer attempted to work with a remote entity to which it has no access due to security settings.
|
| Modifier and Type | Method and Description |
|---|---|
static AmqpErrorCondition |
fromString(String errorCondition)
Parses a serialized value to an ErrorCondition instance.
|
String |
getErrorCondition()
Gets the AMQP header value for this error condition.
|
static AmqpErrorCondition |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AmqpErrorCondition[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AmqpErrorCondition NOT_FOUND
public static final AmqpErrorCondition UNAUTHORIZED_ACCESS
public static final AmqpErrorCondition RESOURCE_LIMIT_EXCEEDED
public static final AmqpErrorCondition NOT_ALLOWED
public static final AmqpErrorCondition INTERNAL_ERROR
public static final AmqpErrorCondition ILLEGAL_STATE
public static final AmqpErrorCondition NOT_IMPLEMENTED
public static final AmqpErrorCondition LINK_STOLEN
public static final AmqpErrorCondition LINK_PAYLOAD_SIZE_EXCEEDED
public static final AmqpErrorCondition LINK_DETACH_FORCED
public static final AmqpErrorCondition CONNECTION_FORCED
public static final AmqpErrorCondition SERVER_BUSY_ERROR
public static final AmqpErrorCondition ARGUMENT_ERROR
public static final AmqpErrorCondition ARGUMENT_OUT_OF_RANGE_ERROR
public static final AmqpErrorCondition ENTITY_DISABLED_ERROR
public static final AmqpErrorCondition PARTITION_NOT_OWNED_ERROR
public static final AmqpErrorCondition STORE_LOCK_LOST_ERROR
public static final AmqpErrorCondition PUBLISHER_REVOKED_ERROR
public static final AmqpErrorCondition TIMEOUT_ERROR
public static final AmqpErrorCondition TRACKING_ID_PROPERTY
public static final AmqpErrorCondition PROTON_IO
public static final AmqpErrorCondition CONNECTION_FRAMING_ERROR
public static final AmqpErrorCondition OPERATION_CANCELLED
public static final AmqpErrorCondition MESSAGE_LOCK_LOST
complete, abandon, renewLock, deadLetter,
or defer on a peek-locked message whose lock had already expired.public static final AmqpErrorCondition SESSION_LOCK_LOST
public static final AmqpErrorCondition SESSION_CANNOT_BE_LOCKED
public static final AmqpErrorCondition MESSAGE_NOT_FOUND
public static final AmqpErrorCondition SESSION_NOT_FOUND
public static final AmqpErrorCondition ENTITY_ALREADY_EXISTS
public static AmqpErrorCondition[] values()
public static AmqpErrorCondition valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String getErrorCondition()
public static AmqpErrorCondition fromString(String errorCondition)
errorCondition - the serialized value to parse.NullPointerException - if errorCondition is null.Copyright © 2020 Microsoft Corporation. All rights reserved.