Cape Invalid Argument Exception Class
An invalid argument value was passed. For instance the passed name of
the phase does not belong to the CO Phase List.
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("B30127DA-8E69-4d15-BAB0-89132126BAC9")]
public class CapeInvalidArgumentException : CapeBadArgumentException,
ECapeInvalidArgumentVB
<SerializableAttribute>
<ComVisibleAttribute(true)>
<ClassInterfaceAttribute(ClassInterfaceType.None)>
<GuidAttribute("B30127DA-8E69-4d15-BAB0-89132126BAC9")>
Public Class CapeInvalidArgumentException
Inherits CapeBadArgumentException
Implements ECapeInvalidArgument- Inheritance
- Object Exception ApplicationException CapeUserException CapeDataException CapeBadArgumentException CapeInvalidArgumentException
- Implements
- ECapeInvalidArgument
Remarks
An argument value of the operation is invalid. The position of the
argument value within the signature of the operation. First argument is as
position 1.
Constructors
| CapeInvalidArgumentException(Int32) | Initializes a new instance of the CapeInvalidArgumentException class with the position of the error. |
| CapeInvalidArgumentException(String, Int32) | Initializes a new instance of the CapeInvalidArgumentException class with a specified error message and the position of the error. |
| CapeInvalidArgumentException(SerializationInfo, StreamingContext, Int32) | Initializes a new instance of the CapeInvalidArgumentException class with serialized data and the position of the error. |
| CapeInvalidArgumentException(String, Exception, Int32) | Initializes a new instance of the CapeInvalidArgumentException 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) |
| position |
The position of the argument value within the signature of the operation. First argument is as position 1.
(Inherited from CapeBadArgumentException) |
| scope |
The scope of the error.
(Inherited from CapeUserException) |
Methods
| Initialize |
Initializes the description, interface name and name fields of this exception.
(Overrides CapeDataExceptionInitialize) |
| Initialize(Int32) |
Initializes the description, interface name and name fields of this exception.
(Inherited from CapeBadArgumentException) |
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) |