Class ExceptionTranslationInterceptor
java.lang.Object
software.amazon.awssdk.services.s3.internal.handlers.ExceptionTranslationInterceptor
- All Implemented Interfaces:
ExecutionInterceptor
@SdkInternalApi
public final class ExceptionTranslationInterceptor
extends Object
implements ExecutionInterceptor
Translate S3Exception for the API calls that do not contain the detailed error code.
-
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
-
ExceptionTranslationInterceptor
public ExceptionTranslationInterceptor()
-
-
Method Details
-
modifyException
public Throwable modifyException(Context.FailedExecution context, ExecutionAttributes executionAttributes) - Specified by:
modifyExceptionin interfaceExecutionInterceptor
-