Cape Computation Exception Class
The base class of the errors hierarchy related to calculations.
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#
[SerializableAttribute]
[GuidAttribute("9D416BF5-B9E3-429a-B13A-222EE85A92A7")]
[ComVisibleAttribute(true)]
[ClassInterfaceAttribute(ClassInterfaceType.None)]
public class CapeComputationException : CapeUserException,
ECapeComputationVB
<SerializableAttribute>
<GuidAttribute("9D416BF5-B9E3-429a-B13A-222EE85A92A7")>
<ComVisibleAttribute(true)>
<ClassInterfaceAttribute(ClassInterfaceType.None)>
Public Class CapeComputationException
Inherits CapeUserException
Implements ECapeComputation- Inheritance
- Object Exception ApplicationException CapeUserException CapeComputationException
- Derived
- Implements
- ECapeComputation
Remarks
This class is used to indicate that an error occurred in the performance of a calculation.
Other calculation-related classes such as
,
,
,
,
,
, and
derive from this class.
Constructors
| CapeComputationException | Initializes a new instance of the CapeComputationException class. |
| CapeComputationException(String) | Initializes a new instance of the CapeComputationException class with a specified error message. |
| CapeComputationException(SerializationInfo, StreamingContext) | Initializes a new instance of the CapeComputationException class with serialized data. |
| CapeComputationException(String, Exception) | Initializes a new instance of the CapeComputationException class with a specified error message and a erence to the inner exception that is the cause of this exception. |
Properties
| code |
Code to designate the subcategory of the error.
(Inherited from CapeUserException) |
| description |
The description of the error.
(Inherited from CapeUserException) |
| interfaceName |
The name of the interface where the error is thrown. This is a mandatory field."
(Inherited from CapeUserException) |
| moreInfo |
An URL to a page, document, web site, where more information on the error can be found. The content of this information is obviously implementation dependent.
(Inherited from CapeUserException) |
| Name |
The name of the exception being thrown.
(Inherited from CapeUserException) |
| operation |
The name of the operation where the error is thrown. This is a mandatory field.
(Inherited from CapeUserException) |
| scope |
The scope of the error.
(Inherited from CapeUserException) |
Methods
| Initialize |
Initializes the description, interface name and name fields of this exception.
(Overrides CapeUserExceptionInitialize) |
Fields
| m_description |
The description of the exception being thrown.
(Inherited from CapeUserException) |
| m_interfaceName |
The name of the exception interface for the exception being thrown.
(Inherited from CapeUserException) |
| m_name |
The name of the exception being thrown.
(Inherited from CapeUserException) |
Extension Methods
| GetEnumNames | (Defined by General) |
| IsValidDouble | (Defined by General) |