Class ExceptionReportingUtils
java.lang.Object
software.amazon.awssdk.core.internal.http.pipeline.stages.utils.ExceptionReportingUtils
-
Method Summary
Modifier and TypeMethodDescriptionstatic Throwable
reportFailureToInterceptors
(RequestExecutionContext context, Throwable failure) Report the failure to the execution interceptors.
-
Method Details
-
reportFailureToInterceptors
public static Throwable reportFailureToInterceptors(RequestExecutionContext context, Throwable failure) Report the failure to the execution interceptors. Swallow any exceptions thrown from the interceptor since we don't want to replace the execution failure.- Parameters:
context
- The execution context.failure
- The execution failure.
-