Class ServiceBusException

    • Constructor Detail

      • ServiceBusException

        public ServiceBusException​(Throwable throwable,
                                   ServiceBusErrorSource errorSource)
        Creates an instance containing the error and the operation that created the error.
        Parameters:
        throwable - The exception that occurred.
        errorSource - The Service Bus operation which caused the error.
    • Method Detail

      • isTransient

        public boolean isTransient()
        Gets whether the exception is a transient error.
        Returns:
        true when user can retry the operation that generated the exception without additional intervention; false otherwise.