CapeBoundariesExceptionSetBoundaries Method

Initializes the description, interface name and name fields of this exception.

Definition

Namespace: CapeOpen
Assembly: CapeOpen (in CapeOpen.dll) Version: 1.0.0.0 (1.0.0.0)
protected void SetBoundaries(
	double LowerBound,
	double UpperBound,
	double value,
	string type
)

Parameters

LowerBound  Double
The value of the lower bound.
UpperBound  Double
The value of the upper bound.
value  Double
The current value which has led to an error.
type  String
The type/nature of the value. The value could represent a thermodynamic property, a number of tables in a database, a quantity of memory, ...

Remarks

Sets the values of the HResult, interface name and exception name.

See Also