Class CatchClause
A catch clause used by .
Matches exceptions by type and executes a handler processor.
public class CatchClause
Inheritance
Properties
Methods
For<TException>(IProcessor, Func<TException, bool>?)
Creates a typed catch clause.
public static CatchClause For<TException>(IProcessor handler, Func<TException, bool>? when = null) where TException : Exception
Matches(Exception)
Checks whether this clause matches the given exception.
public bool Matches(Exception exception)
Constructors
CatchClause(Type, IProcessor, Func<Exception, bool>?)
Creates a catch clause.