Class ExceptionReportingUtils
- java.lang.Object
-
- software.amazon.awssdk.core.internal.http.pipeline.stages.utils.ExceptionReportingUtils
-
public final class ExceptionReportingUtils extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Throwable
reportFailureToInterceptors(RequestExecutionContext context, Throwable failure)
Report the failure to the execution interceptors.
-
-
-
Method Detail
-
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.
-
-