Class ServiceBusException

    • Constructor Detail

      • ServiceBusException

        public ServiceBusException​(boolean isTransient)
      • ServiceBusException

        public ServiceBusException​(boolean isTransient,
                                   String message)
      • ServiceBusException

        public ServiceBusException​(boolean isTransient,
                                   Throwable cause)
      • ServiceBusException

        public ServiceBusException​(boolean isTransient,
                                   String message,
                                   Throwable cause)
    • Method Detail

      • getIsTransient

        public boolean getIsTransient()
        A boolean indicating if the exception is a transient error or not.
        Returns:
        returns true when user can retry the operation that generated the exception without additional intervention.
      • getContext

        public com.microsoft.azure.servicebus.primitives.ErrorContext getContext()