public class GlobalServiceExecutionInterceptor extends Object implements ExecutionInterceptor
HelpfulUnknownHostExceptionInterceptor that was used for older IAM clients. This can be
removed if we ever drop backwards-compatibility with older IAM client versions, because newer IAM client versions do not
depend on this interceptor.| Constructor and Description |
|---|
GlobalServiceExecutionInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
Throwable |
modifyException(Context.FailedExecution context,
ExecutionAttributes executionAttributes)
Modify the exception before it is thrown.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitafterExecution, afterMarshalling, afterTransmission, afterUnmarshalling, beforeExecution, beforeMarshalling, beforeTransmission, beforeUnmarshalling, modifyAsyncHttpContent, modifyAsyncHttpResponseContent, modifyHttpContent, modifyHttpRequest, modifyHttpResponse, modifyHttpResponseContent, modifyRequest, modifyResponse, onExecutionFailurepublic Throwable modifyException(Context.FailedExecution context, ExecutionAttributes executionAttributes)
ExecutionInterceptorThis will only be invoked if the entire execution fails. If a retriable error happens (according to the
RetryPolicy) and a subsequent retry succeeds, this method will not be invoked.
modifyException in interface ExecutionInterceptorcontext - The context associated with the execution that failed. An SDK request will always be available, but
depending on the time at which the failure happened, the HTTP request, HTTP response and SDK response may
not be available. This also includes the exception that triggered the failure.executionAttributes - A mutable set of attributes scoped to one specific request/response cycle that can be used to
give data to future lifecycle methods.Copyright © 2026. All rights reserved.