Enum ExceptionPhase

    • Enum Constant Detail

      • RECEIVE

        public static final ExceptionPhase RECEIVE
        Receiving messages from Azure Service Bus threw an exception.
      • RENEWMESSAGELOCK

        public static final ExceptionPhase RENEWMESSAGELOCK
        Renewing the lock of a message threw an exception.
      • COMPLETE

        public static final ExceptionPhase COMPLETE
        Completing a message threw an exception
      • ABANDON

        public static final ExceptionPhase ABANDON
        Abandoning a message threw an exception
      • USERCALLBACK

        public static final ExceptionPhase USERCALLBACK
        Application code in message handler or session handler threw an exception. Applications should ideally not throw exceptions from message handler or session handler.
      • SESSIONCLOSE

        public static final ExceptionPhase SESSIONCLOSE
        Closing a session threw an exception.
      • ACCEPTSESSION

        public static final ExceptionPhase ACCEPTSESSION
        Accepting a session threw an exception.
      • RENEWSESSIONLOCK

        public static final ExceptionPhase RENEWSESSIONLOCK
        Renewing the lock of a session threw an exception.
    • Method Detail

      • values

        public static ExceptionPhase[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (ExceptionPhase c : ExceptionPhase.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static ExceptionPhase valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null