Interface SdkException.Builder

    • Method Detail

      • cause

        SdkException.Builder cause​(Throwable cause)
        Specifies the exception that caused this exception to occur.
        Parameters:
        cause - The exception that caused this exception to occur.
        Returns:
        This object for method chaining.
      • cause

        Throwable cause()
        The exception that caused this exception to occur.
        Returns:
        The exception that caused this exception to occur.
      • message

        SdkException.Builder message​(String message)
        Specifies the details of this exception.
        Parameters:
        message - The details of this exception.
        Returns:
        This method for object chaining
      • message

        String message()
        The details of this exception.
        Returns:
        Details of this exception.
      • writableStackTrace

        SdkException.Builder writableStackTrace​(Boolean writableStackTrace)
        Specifies whether the stack trace in this exception can be written.
        Parameters:
        writableStackTrace - Whether the stack trace can be written.
        Returns:
        This method for object chaining
      • writableStackTrace

        Boolean writableStackTrace()
        Whether the stack trace in this exception can be written.