public static interface EventStreamException.Builder extends SdkException.Builder
EventStreamException
.Modifier and Type | Method and Description |
---|---|
EventStreamException |
build()
Creates a new
SdkException with the specified properties. |
EventStreamException.Builder |
cause(Throwable t)
Specifies the exception that caused this exception to occur.
|
String |
errorCode() |
EventStreamException.Builder |
errorCode(String errorCode)
Set the error code for this exception.
|
EventStreamException.Builder |
message(String message)
Specifies the details of this exception.
|
cause, message
EventStreamException.Builder errorCode(String errorCode)
errorCode
- The error code.String errorCode()
EventStreamException.Builder message(String message)
SdkException.Builder
message
in interface SdkException.Builder
message
- The details of this exception.EventStreamException.Builder cause(Throwable t)
SdkException.Builder
cause
in interface SdkException.Builder
t
- The exception that caused this exception to occur.EventStreamException build()
SdkException.Builder
SdkException
with the specified properties.build
in interface SdkException.Builder
SdkException
.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.