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