Interface DiscoveryIssue.Builder

    • Method Detail

      • cause

        default DiscoveryIssue.Builder cause​(java.util.Optional<java.lang.Throwable> cause)
        Set the Throwable that caused the DiscoveryIssue.
        Parameters:
        cause - the Throwable that caused the DiscoveryIssue; never null but potentially empty
      • cause

        DiscoveryIssue.Builder cause​(java.lang.Throwable cause)
        Set the Throwable that caused the DiscoveryIssue.
        Parameters:
        cause - the Throwable that caused the DiscoveryIssue; may be null