Core.Terms.UserExceptionCreate

From emotive
Jump to navigation Jump to search

Classification

Name UserExceptionCreate
Short Description Creates a new UserException at run time
Class Term
Extension OTX Core library
Group Creation terms
Exceptions -
Checker Rules -
Standard Compliant Yes

OTL Syntax

ExceptionTerm = UserExceptionCreate(StringLiteral, StringLiteral);

Description

UserExceptionCreate is a term to create a new UserException at run time. It is produced by passing a qualifier and a text.

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
Exception The newly created UserException

Properties

Name Data Type Class Default Cardinality Description
Qualifier String Term - [1] Text to the categorization of the exception
Text String Term - [1] ext to the description of the exception

OTL Examples

Exception result;
result = UserExceptionCreate("UserException", "UserException was throw");

See also

ListCreate
MapCreate