Class SourceException.BuilderImpl
java.lang.Object
software.amazon.awssdk.services.redshiftserverless.endpoints.internal.SourceException.BuilderImpl
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Creates a newSdkExceptionwith the specified properties.software.amazon.awssdk.services.redshiftserverless.endpoints.internal.SourceException.BuilderSpecifies the exception that caused this exception to occur.software.amazon.awssdk.services.redshiftserverless.endpoints.internal.SourceException.BuilderSpecifies the details of this exception.software.amazon.awssdk.services.redshiftserverless.endpoints.internal.SourceException.BuilderwritableStackTrace(Boolean writableStackTrace) Specifies whether the stack trace in this exception can be written.Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface software.amazon.awssdk.core.exception.SdkException.Builder
cause, message, writableStackTrace
-
Constructor Details
-
BuilderImpl
public BuilderImpl()
-
-
Method Details
-
cause
public software.amazon.awssdk.services.redshiftserverless.endpoints.internal.SourceException.Builder cause(Throwable cause) Description copied from interface:SdkException.BuilderSpecifies the exception that caused this exception to occur.- Specified by:
causein interfaceSdkException.Builder- Parameters:
cause- The exception that caused this exception to occur.- Returns:
- This object for method chaining.
-
message
public software.amazon.awssdk.services.redshiftserverless.endpoints.internal.SourceException.Builder message(String message) Description copied from interface:SdkException.BuilderSpecifies the details of this exception.- Specified by:
messagein interfaceSdkException.Builder- Parameters:
message- The details of this exception.- Returns:
- This method for object chaining
-
writableStackTrace
public software.amazon.awssdk.services.redshiftserverless.endpoints.internal.SourceException.Builder writableStackTrace(Boolean writableStackTrace) Description copied from interface:SdkException.BuilderSpecifies whether the stack trace in this exception can be written.- Specified by:
writableStackTracein interfaceSdkException.Builder- Parameters:
writableStackTrace- Whether the stack trace can be written.- Returns:
- This method for object chaining
-
build
Description copied from interface:SdkException.BuilderCreates a newSdkExceptionwith the specified properties.- Specified by:
buildin interfaceBuildable- Specified by:
buildin interfaceSdkException.Builder- Returns:
- The new
SdkException.
-