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
stringThe exception message.
Methods
ThrowIfFalse(bool, string)
Throws an exception if the condition is false.
public static void ThrowIfFalse(bool condition, string message)
Parameters
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
Exceptions
- UninitializedDataException
Thrown when data is not initialized.