Table of Contents

Interface IExceptionHandler<T>

Namespace
Amazon.Runtime
Assembly
AWSSDK.Core.dll

The interface for an exception handler with a generic parameter for the exception type.

public interface IExceptionHandler<T> : IExceptionHandler where T : Exception

Type Parameters

T

The exception type.

Inherited Members

Methods

HandleException(IExecutionContext, T)

Handles an exception for the given execution context.

bool HandleException(IExecutionContext executionContext, T exception)

Parameters

executionContext IExecutionContext

The execution context, it contains the request and response context.

exception T

The exception to handle.

Returns

bool

Returns a boolean value which indicates if the original exception should be rethrown. This method can also throw a new exception to replace the original exception.