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, messageEventStreamException.Builder errorCode(String errorCode)
errorCode - The error code.String errorCode()
EventStreamException.Builder message(String message)
SdkException.Buildermessage in interface SdkException.Buildermessage - The details of this exception.EventStreamException.Builder cause(Throwable t)
SdkException.Buildercause in interface SdkException.Buildert - The exception that caused this exception to occur.EventStreamException build()
SdkException.BuilderSdkException with the specified properties.build in interface SdkException.BuilderSdkException.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.