protected static final class NonRetryableException.BuilderImpl extends SdkException.BuilderImpl implements NonRetryableException.Builder
cause, message| 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.
|
getCause, getMessage, setCause, setMessageprotected BuilderImpl()
protected BuilderImpl(NonRetryableException ex)
public NonRetryableException.Builder message(String message)
SdkException.Buildermessage in interface NonRetryableException.Buildermessage in interface SdkException.Buildermessage in class SdkException.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 SdkException.Buildercause in class SdkException.BuilderImplcause - The exception that caused this exception to occur.public NonRetryableException build()
SdkException.BuilderSdkException with the specified properties.build in interface NonRetryableException.Builderbuild in interface SdkException.Builderbuild in class SdkException.BuilderImplSdkException.Copyright © 2018. All rights reserved.