Open sandboxFocus

Class ContractExceptionFactory

Base class for contract exception factories. Implements chain of responsibility between concrete exception factories.

Inheritance
ContractExceptionFactory
Namespace: PostSharp.Patterns.Contracts
Assembly: PostSharp.Patterns.Common.dll
Syntax
public abstract class ContractExceptionFactory

Constructors

Name Description
ContractExceptionFactory(ContractExceptionFactory)

Initialized a new instance of ContractExceptionFactory.

Methods

Name Description
CreateException(ContractExceptionInfo)

Creates the exception based on the contents of ContractExceptionInfo.