Core.Terms.GetExceptionOriginatorNode

From emotive
Jump to navigation Jump to search

Classification

Name GetExceptionOriginatorNode
Short Description Identifier of an activity in which an exception was thrown
Class Term
Extension OTX Core library
Group Exception related terms
Exceptions -
Checker Rules -
Standard Compliant Yes

OTL Syntax

StringTerm = GetExceptionOriginatorNode(ExceptionTerm);

Description

GetExceptionOriginatorNode is a term, which returns the identifier of an activity in which an exception has been thrown.

Exclamation.png 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.

Icons Note.png In OTX, Terms are categorized according to its return data type!
Data Type Description
String Return of the ID of the activity in which the exception was thrown

Properties

Name Data Type Class Default Cardinality Description
ExceptionTerm Exception Term - [1] Exception, for which the associated activity is wanted

OTL Examples

Exception Exception1;
String String1;
List<Integer> List1;

try
{
   ListInsertItems(List1, 1, {1});
}
catch (Exception Exception1)
{
}

String1 = GetExceptionOriginatorNode(Exception1);

See also

GetExceptionQualifier
GetExceptionText
GetStackTrace