Table of Contents

Class UninitializedDataException

Namespace
SignalSharp.Common.Exceptions
Assembly
SignalSharp.dll

Exception thrown when data is not initialized.

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

Constructors

UninitializedDataException(string?)

Exception thrown when data is not initialized.

public UninitializedDataException(string? message)

Parameters

message string

The exception message.

Methods

ThrowIfFalse(bool, string)

Throws an exception if the condition is false.

public static void ThrowIfFalse(bool condition, string message)

Parameters

condition bool

The condition to validate.

message string

The exception message.

Exceptions

UninitializedDataException

Thrown when the condition is false.

ThrowIfUninitialized(object, string)

Throws an exception if the data is not initialized.

public static void ThrowIfUninitialized(object data, string message)

Parameters

data object

The data to validate.

message string

The exception message.

Exceptions

UninitializedDataException

Thrown when data is not initialized.