- All Superinterfaces:
Buildable, SdkException.Builder
- All Known Subinterfaces:
AbortedException.Builder, ApiCallAttemptTimeoutException.Builder, ApiCallTimeoutException.Builder, Crc32MismatchException.Builder, EndpointDiscoveryFailedException.Builder, NonRetryableException.Builder, RetryableException.Builder
- All Known Implementing Classes:
AbortedException.BuilderImpl, ApiCallAttemptTimeoutException.BuilderImpl, ApiCallTimeoutException.BuilderImpl, Crc32MismatchException.BuilderImpl, EndpointDiscoveryFailedException.BuilderImpl, NonRetryableException.BuilderImpl, RetryableException.BuilderImpl, SdkClientException.BuilderImpl
- Enclosing class:
- SdkClientException
-
Method Summary
Specifies the exception that caused this exception to occur.
Specifies the details of this exception.
Specifies whether the stack trace in this exception can be written.
-
Method Details
-
message
Specifies the details of this exception.
- Specified by:
message in interface SdkException.Builder
- Parameters:
message - The details of this exception.
- Returns:
- This method for object chaining
-
cause
Specifies the exception that caused this exception to occur.
- Specified by:
cause in interface SdkException.Builder
- Parameters:
cause - The exception that caused this exception to occur.
- Returns:
- This object for method chaining.
-
writableStackTrace
Specifies whether the stack trace in this exception can be written.
- Specified by:
writableStackTrace in interface SdkException.Builder
- Parameters:
writableStackTrace - Whether the stack trace can be written.
- Returns:
- This method for object chaining
-
-
numAttempts
- Specified by:
numAttempts in interface SdkException.Builder
- Parameters:
numAttempts - The attempt count
- Returns:
- This method for object chaining