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

Reading Exception value More...

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

Public Attributes

Path path
 The element addresses parts of complex structures like List or Map. It is built out of a series of index and name-steps which allow navigate into the structure. More...
 
OtxLink valueOf
 Name of declaration. More...
 
- Public Attributes inherited from OpenTestSystem.Otx.Core.Terms.Term
MetaData metaData
 Store additional More...
 

Detailed Description

Reading Exception value

Dereferencing terms are used for reading the value of declarations or values which are contained inside of a complex structure like List or Map.

Checker rules
CheckerRule.Core_Chk053 – No dangling OtxLink associations
CheckerRule.Core_Chk050 – Type-safe variable and constant usage
Exceptions
Exceptions.OutOfBoundsExceptionOnly if there is a path: If the path points to a location which has not been allocated (like a list index exceeding list length, or a map key which is not part of the map).
Exceptions.InvalidReferenceExceptionIf the variable value is not valid (This can happen since there is no implicit initialisation for the Exception types).

Member Data Documentation

◆ path

Path OpenTestSystem.Otx.Core.Terms.ExceptionValue.path

The element addresses parts of complex structures like List or Map. It is built out of a series of index and name-steps which allow navigate into the structure.

◆ valueOf

OtxLink OpenTestSystem.Otx.Core.Terms.ExceptionValue.valueOf

Name of declaration.

Contains the name of the declaration or parameter where the value is stored. If the value of interest resides deeper within a complex data structure like a List or Map, the path element will be utilized to address the data inside of the structure.