Class EventHubException

    • Constructor Detail

      • EventHubException

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

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

        public EventHubException​(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.
      • setContext

        public void setContext​(ErrorContext errorContext)