DOFExceptioncreate Method (Int32, String, Exception, DOFProviderInfo)OpenDOF Object Access Library
Create a DOFException using an error code, an error message, a cause, and a providerInfo.

Namespace: org.opendof.core.oal
Assembly: dof-oal (in dof-oal.dll) Version: 7.0.1.2
Syntax

C#
protected static DOFErrorException create(
	int errorCode,
	string message,
	Exception cause,
	DOFProviderInfo providerInfo
)

Parameters

errorCode
Type: SystemInt32
The error code for this exception.
message
Type: SystemString
The error message for this exception (see Message() ). May be null.
cause
Type: SystemException
The original cause of the exception. May be null.
providerInfo
Type: org.opendof.core.oalDOFProviderInfo

Return Value

Type: DOFErrorException
Remarks

Create a DOFException using an error code, an error message, a cause, and a providerInfo.

Only use this method when you cannot easily create a DOFErrorException derivative.

See Also

Reference