Difference between revisions of "Core.Terms.UserExceptionCreate"
Jump to navigation
Jump to search
(Created page with "Category:Core == Classification == {{ClassificationActivity | UserExceptionCreate | Creates a new UserException at run time | Term | OTX Core library | Crea...") |
|||
Line 22: | Line 22: | ||
== Examples == | == Examples == | ||
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | <syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | ||
− | + | Exception result = UserExceptionCreate("UserException", "UserException was throw"); | |
</syntaxhighlight> | </syntaxhighlight> | ||
Revision as of 08:05, 13 August 2014
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 |
Pseudo-Code Syntax
Exception UserExceptionCreate(String qualifier, String text);
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 |
Examples
Exception result = UserExceptionCreate("UserException", "UserException was throw");