Cape Data Exception Class
The base class of the errors hierarchy related to any data.
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]
[ComVisibleAttribute(true)]
[ClassInterfaceAttribute(ClassInterfaceType.None)]
[GuidAttribute("53551E7C-ECB2-4894-B71A-CCD1E7D40995")]
public class CapeDataException : CapeUserException,
ECapeDataVB
<SerializableAttribute>
<ComVisibleAttribute(true)>
<ClassInterfaceAttribute(ClassInterfaceType.None)>
<GuidAttribute("53551E7C-ECB2-4894-B71A-CCD1E7D40995")>
Public Class CapeDataException
Inherits CapeUserException
Implements ECapeData- Inheritance
- Object Exception ApplicationException CapeUserException CapeDataException
- Derived
- Implements
- ECapeData
Remarks
The CapeDataException class is a base class for errors related to data. The data are the arguments of operations, the parameters coming from the Parameter Common Interface and information on licence key.
Constructors
| CapeDataException | Initializes a new instance of the CapeDataException class. |
| CapeDataException(String) | Initializes a new instance of the CapeDataException class with a specified error message. |
| CapeDataException(SerializationInfo, StreamingContext) | Initializes a new instance of the CapeDataException class with serialized data. |
| CapeDataException(String, Exception) | Initializes a new instance of the CapeDataException 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) |