Table of Contents

DomainException Constructor

Definition

Namespace
Savvyio.Domain
Assemblies
Savvyio.Core.dll
Source
src/Savvyio.Core/Domain/DomainException.cs

DomainException()

Initializes a new instance of the DomainException class.

public DomainException()

DomainException(Exception)

Initializes a new instance of the DomainException class.

public DomainException(Exception innerException)

Parameters

innerException Exception

The exception that is the cause of the current exception.

DomainException(string, Exception)

Initializes a new instance of the DomainException class.

public DomainException(string message, Exception innerException = null)

Parameters

message string

The message that describes the invalid state of the domain model.

innerException Exception

The exception that is the cause of the current exception.