Difference between revisions of "Core.Terms.UserExceptionCreate"
Jump to navigation
Jump to search
Line 20: | Line 20: | ||
|} | |} | ||
− | == Examples == | + | == OTL Examples == |
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | <syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | ||
Exception result; | Exception result; |
Revision as of 10:27, 3 February 2015
Contents
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.
![]()
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");