protected static final class NonRetryableException.BuilderImpl extends SdkClientException.BuilderImpl implements NonRetryableException.Builder
cause, message, writableStackTrace| Modifier | Constructor and Description |
|---|---|
protected |
BuilderImpl() |
protected |
BuilderImpl(NonRetryableException ex) |
| Modifier and Type | Method and Description |
|---|---|
NonRetryableException |
build()
Creates a new
SdkException with the specified properties. |
Throwable |
cause()
The exception that caused this exception to occur.
|
NonRetryableException.Builder |
cause(Throwable cause)
Specifies the exception that caused this exception to occur.
|
String |
message()
The details of this exception.
|
NonRetryableException.Builder |
message(String message)
Specifies the details of this exception.
|
NonRetryableException.Builder |
writableStackTrace(Boolean writableStackTrace)
Specifies whether the stack trace in this exception can be written.
|
getCause, getMessage, getWritableStackTrace, setCause, setMessage, setWritableStackTrace, writableStackTraceclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitwritableStackTraceprotected BuilderImpl()
protected BuilderImpl(NonRetryableException ex)
public NonRetryableException.Builder message(String message)
SdkException.Buildermessage in interface NonRetryableException.Buildermessage in interface SdkClientException.Buildermessage in interface SdkException.Buildermessage in class SdkClientException.BuilderImplmessage - The details of this exception.public String message()
SdkException.Buildermessage in interface SdkException.Buildermessage in class SdkException.BuilderImplpublic Throwable cause()
SdkException.Buildercause in interface SdkException.Buildercause in class SdkException.BuilderImplpublic NonRetryableException.Builder cause(Throwable cause)
SdkException.Buildercause in interface NonRetryableException.Buildercause in interface SdkClientException.Buildercause in interface SdkException.Buildercause in class SdkClientException.BuilderImplcause - The exception that caused this exception to occur.public NonRetryableException.Builder writableStackTrace(Boolean writableStackTrace)
SdkException.BuilderwritableStackTrace in interface NonRetryableException.BuilderwritableStackTrace in interface SdkClientException.BuilderwritableStackTrace in interface SdkException.BuilderwritableStackTrace in class SdkClientException.BuilderImplwritableStackTrace - Whether the stack trace can be written.public NonRetryableException build()
SdkException.BuilderSdkException with the specified properties.build in interface NonRetryableException.Builderbuild in interface SdkClientException.Builderbuild in interface SdkException.Builderbuild in interface Buildablebuild in class SdkClientException.BuilderImplSdkException.Copyright © 2023. All rights reserved.