Returns the error stack, if an error stack is used; otherwise this instance is returned as an ErrorStack object. The stack can contain an exception chain (if the instance was created using EngineRuntimeException(Throwable, ExceptionCode, Object[]).


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

Syntax

Visual Basic (Declaration)
Public Overridable Function GetAsErrorStack() As ErrorStack
C#
public virtual ErrorStack GetAsErrorStack()
C++
public:
 virtual ErrorStack GetAsErrorStack()
J#
public virtual ErrorStack GetAsErrorStack()
JScript
public virtual  function GetAsErrorStack() : ErrorStack

Return Value

An ErrorStack object containing an exception or exceptions from either the error stack or this instance.

See Also