public static interface SdkException.Builder extends Buildable
Modifier and Type | Method and Description |
---|---|
SdkException |
build()
Creates a new
SdkException with the specified properties. |
Throwable |
cause()
The exception that caused this exception to occur.
|
SdkException.Builder |
cause(Throwable cause)
Specifies the exception that caused this exception to occur.
|
String |
message()
The details of this exception.
|
SdkException.Builder |
message(String message)
Specifies the details of this exception.
|
Boolean |
writableStackTrace()
Whether the stack trace in this exception can be written.
|
SdkException.Builder |
writableStackTrace(Boolean writableStackTrace)
Specifies whether the stack trace in this exception can be written.
|
SdkException.Builder cause(Throwable cause)
cause
- The exception that caused this exception to occur.Throwable cause()
SdkException.Builder message(String message)
message
- The details of this exception.String message()
SdkException.Builder writableStackTrace(Boolean writableStackTrace)
writableStackTrace
- Whether the stack trace can be written.Boolean writableStackTrace()
SdkException build()
SdkException
with the specified properties.build
in interface Buildable
SdkException
.Copyright © 2022. All rights reserved.