ExceptionPhase Enum

  • java.lang.Object
    • java.lang.Enum
      • com.microsoft.azure.servicebus.ExceptionPhase

public enum ExceptionPhase
extends Enum<ExceptionPhase>

Enumeration to represent the phase in a message pump or session pump at which an exception occurred.

Fields

ABANDON

Abandoning a message threw an exception

ACCEPTSESSION

Accepting a session threw an exception.

COMPLETE

Completing a message threw an exception

RECEIVE

Receiving messages from Azure Service Bus threw an exception.

RENEWMESSAGELOCK

Renewing the lock of a message threw an exception.

RENEWSESSIONLOCK

Renewing the lock of a session threw an exception.

SESSIONCLOSE

Closing a session threw an exception.

USERCALLBACK

Application code in message handler or session handler threw an exception.

Methods inherited from java.lang.Enum

Methods inherited from java.lang.Object

Methods

valueOf(String name)

public static ExceptionPhase valueOf(String name)

Parameters

name
String

Returns

values()

public static ExceptionPhase[] values()

Returns

Applies to