Class ApiCallTimeoutException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- software.amazon.awssdk.core.exception.SdkException
-
- software.amazon.awssdk.core.exception.SdkClientException
-
- software.amazon.awssdk.core.exception.ApiCallTimeoutException
-
- All Implemented Interfaces:
Serializable
public final class ApiCallTimeoutException extends SdkClientException
Signals that an api call could not complete within the specified timeout.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
ApiCallTimeoutException.Builder
protected static class
ApiCallTimeoutException.BuilderImpl
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ApiCallTimeoutException.Builder
builder()
static ApiCallTimeoutException
create(long timeout)
static ApiCallTimeoutException
create(String message, Throwable cause)
ApiCallTimeoutException.Builder
toBuilder()
Create aSdkClientException.Builder
initialized with the properties of thisSdkClientException
.-
Methods inherited from class software.amazon.awssdk.core.exception.SdkClientException
create, getMessage
-
Methods inherited from class software.amazon.awssdk.core.exception.SdkException
numAttempts, rawMessage, retryable
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Method Detail
-
create
public static ApiCallTimeoutException create(long timeout)
-
create
public static ApiCallTimeoutException create(String message, Throwable cause)
-
toBuilder
public ApiCallTimeoutException.Builder toBuilder()
Description copied from class:SdkClientException
Create aSdkClientException.Builder
initialized with the properties of thisSdkClientException
.- Overrides:
toBuilder
in classSdkClientException
- Returns:
- A new builder initialized with this config's properties.
-
builder
public static ApiCallTimeoutException.Builder builder()
-
-