ServiceBusErrorSource Class

public final class ServiceBusErrorSource
extends ExpandableStringEnum<ServiceBusErrorSource>

Represents the operation a Service Bus client was performing when the error happened.

Field Summary

Modifier and Type Field and Description
static final ServiceBusErrorSource ABANDON

Error while abandoning the message.

static final ServiceBusErrorSource ACCEPT_SESSION

Error while session is accepted.

static final ServiceBusErrorSource CLOSE_SESSION

Error while session is closed.

static final ServiceBusErrorSource COMPLETE

Error while completing the message.

static final ServiceBusErrorSource MANAGEMENT

Error while trying to do an operation on the management link.

static final ServiceBusErrorSource RECEIVE

Error while receiving the message(s).

static final ServiceBusErrorSource RENEW_LOCK

Error while renewing lock.

static final ServiceBusErrorSource SEND

Error while sending a message.

static final ServiceBusErrorSource UNKNOWN

Error when we could not determine the source.

static final ServiceBusErrorSource USER_CALLBACK

Error while user's code is running for a message.

Constructor Summary

Constructor Description
ServiceBusErrorSource()

Deprecated

Use ServiceBusErrorSource#fromString(String, Class) instead.

Creates a new instance of the error source.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

ABANDON

public static final ServiceBusErrorSource ABANDON

Error while abandoning the message.

ACCEPT_SESSION

public static final ServiceBusErrorSource ACCEPT_SESSION

Error while session is accepted.

CLOSE_SESSION

public static final ServiceBusErrorSource CLOSE_SESSION

Error while session is closed.

COMPLETE

public static final ServiceBusErrorSource COMPLETE

Error while completing the message.

MANAGEMENT

public static final ServiceBusErrorSource MANAGEMENT

Error while trying to do an operation on the management link.

RECEIVE

public static final ServiceBusErrorSource RECEIVE

Error while receiving the message(s).

RENEW_LOCK

public static final ServiceBusErrorSource RENEW_LOCK

Error while renewing lock.

SEND

public static final ServiceBusErrorSource SEND

Error while sending a message.

UNKNOWN

public static final ServiceBusErrorSource UNKNOWN

Error when we could not determine the source.

USER_CALLBACK

public static final ServiceBusErrorSource USER_CALLBACK

Error while user's code is running for a message.

Constructor Details

ServiceBusErrorSource

@Deprecated
public ServiceBusErrorSource()

Deprecated

Use ServiceBusErrorSource#fromString(String, Class) instead.

Creates a new instance of the error source. Use the existing error sources and create a new error source using ServiceBusErrorSource#fromString(String, Class).

Applies to