OTX Reference  
OpenTestSystem.Otx.Core.Exceptions.UserException Class Reference

Exception which can be thrown by the user. More...

Inheritance diagram for OpenTestSystem.Otx.Core.Exceptions.UserException:
Inheritance graph

Public Attributes

UserExceptionLiteral init
 Cardinality [0..1]
Initialisation of the UserException at declaration time. More...
 

Detailed Description

Exception which can be thrown by the user.

The exception can be configured by the OTX author. Both qualifier and text of a UserException must be defined by the author. The author can throw a UserException by using Throw end node.

Note
If the UserException declaration is not explicitly initialized, the exception value shall stay undefined. If such an undefined exception is accessed at a later point in a test sequence, an InvalidReferenceException will be thrown.
See also
Terms.UserExceptionCreate, OpenTestSystem.Otx.Core.Nodes.Node.EndNode.Throw

Member Data Documentation

◆ init

UserExceptionLiteral OpenTestSystem.Otx.Core.Exceptions.UserException.init

Cardinality [0..1]
Initialisation of the UserException at declaration time.