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)

ToggleSyntax

Visual Basic (Declaration)
Public Overridable Function GetAsErrorStack As ErrorStack
C#
public virtual ErrorStack GetAsErrorStack()
Visual C++
public:
virtual ErrorStack^ GetAsErrorStack()
JavaScript
function getAsErrorStack();

Return Value

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

ToggleSee Also