Table of Contents

Class ReactorDoesNotExist

Namespace
Cratis.Chronicle.Reactors
Assembly
Cratis.Chronicle.dll

Exception that gets thrown when an Reactor does not exist.

public class ReactorDoesNotExist : Exception, ISerializable
Inheritance
ReactorDoesNotExist
Implements
Inherited Members

Remarks

Initializes a new instance of ReactorDoesNotExist.

Constructors

ReactorDoesNotExist(ReactorId)

Exception that gets thrown when an Reactor does not exist.

public ReactorDoesNotExist(ReactorId reactorId1)

Parameters

reactorId1 ReactorId

The invalid ReactorId.

Remarks

Initializes a new instance of ReactorDoesNotExist.

Methods

ThrowIfDoesNotExist(ReactorId, ReactorHandler?)

Throw if the Reactor does not exist.

public static void ThrowIfDoesNotExist(ReactorId reactorId, ReactorHandler? reactor)

Parameters

reactorId ReactorId

The ReactorId of the Reactor.

reactor ReactorHandler

The possible null ReactorHandler >value to check.

Exceptions

ReactorDoesNotExist

Thrown if the Reactor handler value is null.