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)

Syntax

Visual Basic (Declaration)
Public Sub New( _ 
   ByVal cause As Exception,  _ 
   ByVal code As ExceptionCode,  _ 
   ByVal codeArgs As Object() _ 
)
C#
public EngineRuntimeException(
   Exception cause,
   ExceptionCode code,
   object[] codeArgs
)
C++
public:
 EngineRuntimeException(
   Exception cause,
   ExceptionCode code,
   array<Object>^ codeArgs
) sealed 
J#
public EngineRuntimeException(
   Exception cause,
   ExceptionCode code,
   object[] codeArgs
)
JScript
public function EngineRuntimeException(
   cause : Exception,
   code : ExceptionCode,
   codeArgs : Object[]
)

Parameters

cause
A System Exception object containing the exception to wrap.
code
The ExceptionCode object to use.
codeArgs
An Object array containing the code arguments. This can be Null.

See Also