Classification
Pseudo-Code Syntax
Value = GetStackTrace(ExceptionTerm)
Description
GetStackTrace is a ListTerm return the procedure call stack for a given exception. The call stack shall be determined when the exception is created, not when it is thrown. The returned list contain the fully qualified names ofthe invoked procedures, e.g. {"myCompany.otx. myProcedure", "myCompany.otx.main"}.
|
|
|
Important: Please keep in mind that this TermActivity in the form of an activity exists and no text can be entered. According to the respective ActionNode can further properties are added.
|
Return Value
The Term returns the value, see table below.
|
|
In OTX, Terms are categorized according to its return data type!
|
Data Type |
Description
|
List |
The procedure call stack for a given exception
|
Properties
Name |
Data Type |
Class |
Default |
Cardinality |
Description
|
ExceptionTerm |
Exception |
Term |
- |
[1] |
Exception
|
Examples
List<String> result = GetStackTrace(exceptionVariable)
See also
GetExceptionOriginatorNode
GetExceptionQualifier
GetExceptionText