Cape Persistence Exception Class
An exception class that indicates that the a persistence-related error has occurred.
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("3237C6F8-3D46-47ee-B25F-52485A5253D8")]
[ComVisibleAttribute(true)]
[ClassInterfaceAttribute(ClassInterfaceType.None)]
public class CapePersistenceException : CapeUserException,
ECapePersistenceVB
<SerializableAttribute>
<GuidAttribute("3237C6F8-3D46-47ee-B25F-52485A5253D8")>
<ComVisibleAttribute(true)>
<ClassInterfaceAttribute(ClassInterfaceType.None)>
Public Class CapePersistenceException
Inherits CapeUserException
Implements ECapePersistence- Inheritance
- Object Exception ApplicationException CapeUserException CapePersistenceException
- Derived
- Implements
- ECapePersistence
Remarks
The base class of the errors hierarchy related to the persistence.
Constructors
| CapePersistenceException | Initializes a new instance of the CapePersistenceException class. |
| CapePersistenceException(String) | Initializes a new instance of the CapePersistenceException class with a specified error message. |
| CapePersistenceException(SerializationInfo, StreamingContext) | Initializes a new instance of the CapePersistenceException class with serialized data. |
| CapePersistenceException(String, Exception) | Initializes a new instance of the CapePersistenceException 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) |