Class SdkException

    • Method Detail

      • numAttempts

        public Integer numAttempts()
        Returns the number of attempts made before this exception was thrown. This includes the initial attempt and any retries.
        Returns:
        The number of attempts made, or null if not set
      • rawMessage

        public String rawMessage()
        Returns the raw message of this exception without any additional formatting. This is used internally to construct the complete exception message.
        Returns:
        The raw exception message
      • retryable

        public boolean retryable()
        Specifies whether or not an exception can be expected to succeed on a retry.
      • toBuilder

        public SdkException.Builder toBuilder()
        Create a SdkException.Builder initialized with the properties of this SdkException.
        Returns:
        A new builder initialized with this config's properties.