Use this for exception chaining. The ExceptionCode object and an array of specific values (code arguments) in use when the error occurred for this (wrapping) exception. The Throwable object specified is wrapped (nested) within this exception.

Namespace:  FileNet.Api.Exception
Assembly:  FileNet.Api (in FileNet.Api.dll)

ToggleSyntax

Visual Basic (Declaration)
Public Sub New ( _
	cause As Exception, _
	code As ExceptionCode, _
	codeArgs As Object() _
)
C#
public EngineRuntimeException(
	Exception cause,
	ExceptionCode code,
	Object[] codeArgs
)
Visual C++
public:
EngineRuntimeException(
	Exception^ cause, 
	ExceptionCode^ code, 
	array<Object^>^ codeArgs
)
JavaScript
FileNet.Api.Exception.EngineRuntimeException = function(cause, code, codeArgs);

Parameters

cause
Type: System..::.Exception
A System Exception object containing the exception to wrap.
code
Type: FileNet.Api.Exception..::.ExceptionCode
The ExceptionCode object to use.
codeArgs
Type: array< System..::.Object >[]()[]
An Object array containing the code arguments. This can be Null.

ToggleSee Also