ExceptionPhase Enum

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

public 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. Applications should ideally not throw exceptions from message handler or session handler.

Applies to