protected static class SdkClientException.BuilderImpl extends SdkException.BuilderImpl implements SdkClientException.Builder
cause, message
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.
|
cause, getCause, getMessage, message, setCause, setMessage
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
cause, message
protected BuilderImpl()
protected BuilderImpl(SdkClientException ex)
public SdkClientException.Builder message(String message)
SdkException.Builder
message
in interface SdkClientException.Builder
message
in interface SdkException.Builder
message
in class SdkException.BuilderImpl
message
- The details of this exception.public SdkClientException.Builder cause(Throwable cause)
SdkException.Builder
cause
in interface SdkClientException.Builder
cause
in interface SdkException.Builder
cause
in class SdkException.BuilderImpl
cause
- The exception that caused this exception to occur.public SdkClientException build()
SdkException.Builder
SdkException
with the specified properties.build
in interface SdkClientException.Builder
build
in interface SdkException.Builder
build
in interface Buildable
build
in class SdkException.BuilderImpl
SdkException
.Copyright © 2022. All rights reserved.