Cape Boundaries Exception(String, Exception, Double, Double, Double, String) Constructor
Initializes a new instance of the CapeBoundariesException class with a specified error message, the lower bound, upper bound, value, type and position of the parameter, and a erence to the inner exception that is the cause of this exception.
Definition
Namespace: CapeOpen
Assembly: CapeOpen (in CapeOpen.dll) Version: 1.0.0.0 (1.0.0.0)
Assembly: CapeOpen (in CapeOpen.dll) Version: 1.0.0.0 (1.0.0.0)
C#
public CapeBoundariesException(
string message,
Exception inner,
double LowerBound,
double UpperBound,
double value,
string type
)VB
Public Sub New (
message As String,
inner As Exception,
LowerBound As Double,
UpperBound As Double,
value As Double,
type As String
)Parameters
- message String
- The error message string.
- inner Exception
- The inner exception erence.
- 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
The content of the message parameter is intended to be understood by humans. The caller of this constructor is required to ensure that this string has been localized for the current system culture.
An exception that is thrown as a direct result of a previous exception should include a erence to the previous exception in the InnerException property. The InnerException property returns the same value that is passed into the constructor, or a null erence if the InnerException property does not supply the inner exception value to the constructor.