Class HelpfulUnknownHostExceptionInterceptor
java.lang.Object
software.amazon.awssdk.awscore.interceptor.HelpfulUnknownHostExceptionInterceptor
- All Implemented Interfaces:
ExecutionInterceptor
@SdkProtectedApi
public final class HelpfulUnknownHostExceptionInterceptor
extends Object
implements ExecutionInterceptor
This interceptor will monitor for
UnknownHostExceptions and provide the customer with additional information they can
use to debug or fix the problem.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionmodifyException(Context.FailedExecution context, ExecutionAttributes executionAttributes) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface software.amazon.awssdk.core.interceptor.ExecutionInterceptor
afterExecution, afterMarshalling, afterTransmission, afterUnmarshalling, beforeExecution, beforeMarshalling, beforeTransmission, beforeUnmarshalling, modifyAsyncHttpContent, modifyAsyncHttpResponseContent, modifyHttpContent, modifyHttpRequest, modifyHttpResponse, modifyHttpResponseContent, modifyRequest, modifyResponse, onExecutionFailure
-
Constructor Details
-
HelpfulUnknownHostExceptionInterceptor
public HelpfulUnknownHostExceptionInterceptor()
-
-
Method Details
-
modifyException
public Throwable modifyException(Context.FailedExecution context, ExecutionAttributes executionAttributes) - Specified by:
modifyExceptionin interfaceExecutionInterceptor
-