public static interface NonRetryableException.Builder extends SdkClientException.Builder
Modifier and Type | Method and Description |
---|---|
NonRetryableException |
build()
Creates a new
SdkException with the specified properties. |
NonRetryableException.Builder |
cause(Throwable cause)
Specifies the exception that caused this exception to occur.
|
NonRetryableException.Builder |
message(String message)
Specifies the details of this exception.
|
cause, message
NonRetryableException.Builder message(String message)
SdkException.Builder
message
in interface SdkClientException.Builder
message
in interface SdkException.Builder
message
- The details of this exception.NonRetryableException.Builder cause(Throwable cause)
SdkException.Builder
cause
in interface SdkClientException.Builder
cause
in interface SdkException.Builder
cause
- The exception that caused this exception to occur.NonRetryableException build()
SdkException.Builder
SdkException
with the specified properties.build
in interface SdkClientException.Builder
build
in interface SdkException.Builder
SdkException
.Copyright © 2018. All rights reserved.