protected static class SdkException.BuilderImpl extends Object implements SdkException.Builder
| Modifier and Type | Field and Description | 
|---|---|
| protected Throwable | cause | 
| protected String | message | 
| Modifier | Constructor and Description | 
|---|---|
| protected  | BuilderImpl() | 
| protected  | BuilderImpl(SdkException ex) | 
| Modifier and Type | Method and Description | 
|---|---|
| SdkException | build()Creates a new  SdkExceptionwith the specified properties. | 
| Throwable | cause()The exception that caused this exception to occur. | 
| SdkException.Builder | cause(Throwable cause)Specifies the exception that caused this exception to occur. | 
| Throwable | getCause() | 
| String | getMessage() | 
| String | message()The details of this exception. | 
| SdkException.Builder | message(String message)Specifies the details of this exception. | 
| void | setCause(Throwable cause) | 
| void | setMessage(String message) | 
protected BuilderImpl()
protected BuilderImpl(SdkException ex)
public Throwable getCause()
public void setCause(Throwable cause)
public SdkException.Builder cause(Throwable cause)
SdkException.Buildercause in interface SdkException.Buildercause - The exception that caused this exception to occur.public Throwable cause()
SdkException.Buildercause in interface SdkException.Builderpublic String getMessage()
public SdkException.Builder message(String message)
SdkException.Buildermessage in interface SdkException.Buildermessage - The details of this exception.public void setMessage(String message)
public String message()
SdkException.Buildermessage in interface SdkException.Builderpublic SdkException build()
SdkException.BuilderSdkException with the specified properties.build in interface SdkException.Builderbuild in interface BuildableSdkException.Copyright © 2020. All rights reserved.