Class CircuitOpenException

Namespace
Kevlar
Assembly
Kevlar.dll

Thrown when a circuit breaker rejects an execution because the circuit is open.

public sealed class CircuitOpenException : ExecutionRejectedException, ISerializable
Inheritance
CircuitOpenException
Implements
Inherited Members

Constructors

CircuitOpenException()

Initializes an open-circuit rejection.

public CircuitOpenException()

CircuitOpenException(TimeSpan?, bool, Exception?)

Initializes the exception.

public CircuitOpenException(TimeSpan? retryAfter, bool isIsolated, Exception? lastException)

Parameters

retryAfter TimeSpan?
isIsolated bool
lastException Exception

CircuitOpenException(string)

Initializes an open-circuit rejection with a custom message.

public CircuitOpenException(string message)

Parameters

message string

CircuitOpenException(string, Exception)

Initializes an open-circuit rejection with a custom message and last failure.

public CircuitOpenException(string message, Exception innerException)

Parameters

message string
innerException Exception

Properties

IsIsolated

true when the circuit was manually isolated rather than tripped by failures.

public bool IsIsolated { get; }

Property Value

bool