OTX Reference  
OpenTestSystem.Otx.Core.Terms.UserExceptionCreate Class Reference

Creates an Exception More...

Inheritance diagram for OpenTestSystem.Otx.Core.Terms.UserExceptionCreate:
Inheritance graph

Public Attributes

StringTerm qualifier
 A short text to qualify the exception. More...
 
StringTerm text
 Long text for description of exception. More...
 
- Public Attributes inherited from OpenTestSystem.Otx.Core.Terms.Term
MetaData metaData
 Store additional More...
 

Detailed Description

Creates an Exception

UserExceptionCreate is a term for creating your own exception at run time. They can be triggered by the Throw-activity.

Syntax
ExceptionTerm = UserExceptionCreate(StringLiteral, StringLiteral);
Examples
// Local Declarations
Exception result;
// Flow
result = UserExceptionCreate("UserException", "UserException was throw");

Member Data Documentation

◆ qualifier

StringTerm OpenTestSystem.Otx.Core.Terms.UserExceptionCreate.qualifier

A short text to qualify the exception.

◆ text

StringTerm OpenTestSystem.Otx.Core.Terms.UserExceptionCreate.text

Long text for description of exception.