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