Open sandboxFocus

Interface IExceptionHandler

Represents an exception handler (either catch, finally or filter) attached to a block.

Namespace: PostSharp.Reflection.MethodBody
Assembly: PostSharp.dll
Syntax
public interface IExceptionHandler

Properties

Name Description
ExceptionHandlerKind

Gets the kind of exception handling clause.

ExceptionType

Gets the type of handled exception, or null if all exceptions are handled.

FilterBlock

Gets the exception filtering block, or null if all exceptions are handled.

FilterLocalVariable

Gets the local variable containing the exception in the FilterBlock.

HandlerBlock

Gets the exception handling block.

HandlerLocalVariable

Gets the local variable containing the exception in the HandlerBlock.

TryBlock

Gets the try block.