com.microsoft.azure.eventhubs.impl.AmqpErrorCode Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-eventhubs Show documentation
Show all versions of azure-eventhubs Show documentation
Please note, a newer package azure-messaging-eventhubs for Azure Event Hubs is available at https://search.maven.org/artifact/com.azure/azure-messaging-eventhubs as of February 2020. While this package will continue to receive critical bug fixes, we strongly encourage you to upgrade. Read the migration guide at https://aka.ms/azsdk/java/migrate/eh for more details.
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
package com.microsoft.azure.eventhubs.impl;
import org.apache.qpid.proton.amqp.Symbol;
public final class AmqpErrorCode {
public static final Symbol NotFound = Symbol.getSymbol("amqp:not-found");
public static final Symbol UnauthorizedAccess = Symbol.getSymbol("amqp:unauthorized-access");
public static final Symbol ResourceLimitExceeded = Symbol.getSymbol("amqp:resource-limit-exceeded");
public static final Symbol NotAllowed = Symbol.getSymbol("amqp:not-allowed");
public static final Symbol InternalError = Symbol.getSymbol("amqp:internal-error");
public static final Symbol IllegalState = Symbol.getSymbol("amqp:illegal-state");
public static final Symbol NotImplemented = Symbol.getSymbol("amqp:not-implemented");
// link errors
public static final Symbol Stolen = Symbol.getSymbol("amqp:link:stolen");
public static final Symbol PayloadSizeExceeded = Symbol.getSymbol("amqp:link:message-size-exceeded");
public static final Symbol AmqpLinkDetachForced = Symbol.getSymbol("amqp:link:detach-forced");
// connection errors
public static final Symbol ConnectionForced = Symbol.getSymbol("amqp:connection:forced");
// proton library introduced this amqpsymbol in their code-base to communicate IOExceptions
// while performing operations on SocketChannel (in IOHandler.java)
public static final Symbol PROTON_IO_ERROR = Symbol.getSymbol("proton:io");
}