DOFProviderException is used by providers to throw exceptions that are defined
as part of a DOFInterface.
Inheritance Hierarchy
SystemException
org.opendof.core.oalDOFException
org.opendof.core.oalDOFProviderException
Namespace: org.opendof.core.oal
Assembly: dof-oal (in dof-oal.dll) Version: 7.0.1.2
Syntax
C#
[SerializableAttribute] public sealed class DOFProviderException : DOFException, DOFImmutable
The DOFProviderException type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| DOFProviderException(DOFInterfaceException, DOFValue) | Construct a DOFProviderException from a DOFInterface.Exception and its parameters.
| |
| DOFProviderException(DOFInterfaceException, IListDOFValue) | Construct a DOFProviderException from a DOFInterface.Exception and its parameters.
|
Properties
| Name | Description | |
|---|---|---|
| Data | Gets a collection of key/value pairs that provide additional user-defined information about the exception. (Inherited from Exception.) | |
| HelpLink | Gets or sets a link to the help file associated with this exception. (Inherited from Exception.) | |
| InnerException | Gets the Exception instance that caused the current exception. (Inherited from Exception.) | |
| Message | Gets a message that describes the conditions of this exception. (Overrides DOFExceptionMessage.) | |
| Source | Gets or sets the name of the application or the object that causes the error. (Inherited from Exception.) | |
| StackTrace | Gets a string representation of the immediate frames on the call stack. (Inherited from Exception.) | |
| TargetSite | Gets the method that throws the current exception. (Inherited from Exception.) |
Methods
| Name | Description | |
|---|---|---|
| Equals | (Inherited from Object.) | |
| GetBaseException | When overridden in a derived class, returns the Exception that is the root cause of one or more subsequent exceptions. (Inherited from Exception.) | |
| getErrorCode | Get the error code for this exception. (Inherited from DOFException.) | |
| getErrorCodeString | (Overrides DOFExceptiongetErrorCodeString(Int32).) | |
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
| getInterfaceException | Get the DOFInterface.Exception associated with this exception. | |
| GetObjectData | When overridden in a derived class, sets the SerializationInfo with information about the exception. (Inherited from Exception.) | |
| getParameters | Get the parameters for this DOFProviderException. | |
| getProviderInfo | Returns information about the provider that threw this exception, if any.
(Inherited from DOFException.) | |
| GetType | Gets the runtime type of the current instance. (Inherited from Exception.) | |
| marshal | (Overrides DOFExceptionmarshal(DOFMarshalContext, Object, DOFPacket).) | |
| ToString | Get a string representation of this object. (Overrides DOFExceptionToString.) |
Fields
| Name | Description | |
|---|---|---|
| INTERFACE_DEFINED | Error code for interface defined exceptions, also called "Provider Exceptions".
|
Remarks
See Also
Reference
Provider.get(Provide, Get, Property)
Provider.set(Provide, Set, Property, DOFValue)
Provider.invoke(Provide, Invoke, Method, System.Collections.Generic.IList<E>)