Difference between revisions of "Extensions.Quantities.InvalidConversionException"

From emotive
Jump to navigation Jump to search
Line 1: Line 1:
 
{{DISPLAYTITLE:Exception '''InvalidConversionException'''}}
 
{{DISPLAYTITLE:Exception '''InvalidConversionException'''}}
 
== Classification ==
 
== Classification ==
{{ClassificationException | InvalidConversionException | [[Exception Type]] | [[Core.DataTypes.ComplexDataType|Complex Data Type]] }}
+
{{ClassificationException | InvalidConversionException | [[Core.DataTypes.ComplexDataType|Complex Data Type]] | [[Extensions.Quantities.QuantityException|QuantityException]]}}
  
 
== Description ==
 
== Description ==
An '''InvalidConversionException''' should be thrown if the physical dimensions of '''Quantity''' operands in arithmetic operations are incompatible, e.g. if a speed is added to a voltage.
+
An '''InvalidConversionException''' shall be thrown if the physical dimensions of Quantity operands in arithmetic operations are incompatible, e.g. if a speed is added to a voltage.

Revision as of 09:52, 1 October 2018

Classification

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

Description

An InvalidConversionException shall be thrown if the physical dimensions of Quantity operands in arithmetic operations are incompatible, e.g. if a speed is added to a voltage.