Creates the ErrorStack instance by explicitly specifying the ErrorRecord object that the error stack is to contain.


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

Syntax

Visual Basic (Declaration)
Public Sub New( _ 
   ByVal errorName As String,  _ 
   ByVal recs As ErrorRecord() _ 
)
C#
public ErrorStack(
   string errorName,
   ErrorRecord[] recs
)
C++
public:
 ErrorStack(
   String errorName,
   array<ErrorRecord>^ recs
) sealed 
J#
public ErrorStack(
   string errorName,
   ErrorRecord[] recs
)
JScript
public function ErrorStack(
   errorName : String,
   recs : ErrorRecord[]
)

Parameters

errorName
A String containing the name to assign to the error stack. If null, this defaults to ExceptionCode.E_SERVER_ERROR.
recs
An ErrorRecord array containing the exceptions.

See Also