Difference between revisions of "Extensions.Quantities.UnknownUnitException"

From emotive
Jump to navigation Jump to search
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{DISPLAYTITLE:Exception '''UnknownUnitException'''}}
 
{{DISPLAYTITLE:Exception '''UnknownUnitException'''}}
 
== Classification ==
 
== Classification ==
{{ClassificationException | UnknownUnitException | [[Exception Type]] | [[Core.DataTypes.Complex Data Type|Complex Data Type]] }}
+
{{ClassificationException | UnknownUnitException | [[Core.DataTypes.ComplexDataType|Complex Data Type]] | [[Extensions.Quantities.QuantityException|QuantityException]]| {{OtxSpec3}} }}
  
 
== Description ==
 
== Description ==
An '''UnknownUnitException''' should be thrown if a referenced unit isnot known by the runtime system. This exception can for instance occur when using the '''UnitLiteral''' term and passing a unit reference that does not exist in the system’s UNIT-SPEC.
+
An '''UnknownUnitException''' will be thrown if a referenced unit is not known by the runtime system. This exception can for instance occur when using the '''UnitLiteral''' term and passing a unit reference that does not exist in the system’s '''UNIT-SPEC'''.

Latest revision as of 08:09, 12 September 2019

Classification

Name UnknownUnitException
Class Complex Data Type
Base Data Type QuantityException
SpecifiedBy ISO 13209-3

Description

An UnknownUnitException will be thrown if a referenced unit is not known by the runtime system. This exception can for instance occur when using the UnitLiteral term and passing a unit reference that does not exist in the system’s UNIT-SPEC.