Table of Contents

Class UnitIsNotSupportedException

Namespace
xFunc.Maths.Expressions.Units
Assembly
xFunc.Maths.dll

Represents the exception that is thrown when converter uses unsupported unit.

[Serializable]
public class UnitIsNotSupportedException : Exception, ISerializable
Inheritance
UnitIsNotSupportedException
Implements
Inherited Members

Constructors

UnitIsNotSupportedException(string?)

Initializes a new instance of the UnitIsNotSupportedException class.

public UnitIsNotSupportedException(string? unit)

Parameters

unit string

The unsupported unit.

UnitIsNotSupportedException(string?, Exception?)

Initializes a new instance of the UnitIsNotSupportedException class.

public UnitIsNotSupportedException(string? unit, Exception? inner)

Parameters

unit string

The unsupported unit.

inner Exception

The exception that is the cause of the current exception, or a null reference if no inner exception is specified.

Properties

Unit

Gets the unsupported unit.

public string? Unit { get; }

Property Value

string