Class EndpointDiscoveryFailedException
- 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.endpointdiscovery.EndpointDiscoveryFailedException
-
- All Implemented Interfaces:
Serializable
public class EndpointDiscoveryFailedException extends SdkClientException
This exception is thrown when the SDK was unable to retrieve an endpoint from AWS. The cause describes what specific part of the endpoint discovery process failed.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceEndpointDiscoveryFailedException.Builderprotected static classEndpointDiscoveryFailedException.BuilderImpl
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EndpointDiscoveryFailedException.Builderbuilder()static EndpointDiscoveryFailedExceptioncreate(Throwable cause)EndpointDiscoveryFailedException.BuildertoBuilder()Create aSdkClientException.Builderinitialized with the properties of thisSdkClientException.-
Methods inherited from class software.amazon.awssdk.core.exception.SdkClientException
create, 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
-
builder
public static EndpointDiscoveryFailedException.Builder builder()
-
create
public static EndpointDiscoveryFailedException create(Throwable cause)
-
toBuilder
public EndpointDiscoveryFailedException.Builder toBuilder()
Description copied from class:SdkClientExceptionCreate aSdkClientException.Builderinitialized with the properties of thisSdkClientException.- Overrides:
toBuilderin classSdkClientException- Returns:
- A new builder initialized with this config's properties.
-
-