Package ucar.units

Class ConversionException

    • Constructor Detail

      • ConversionException

        public ConversionException()
        Constructs from nothing.
      • ConversionException

        public ConversionException​(Unit fromUnit,
                                   Unit toUnit)
        Constructs from a "from" unit and and "to" unit.
        Parameters:
        fromUnit - The unit from which a conversion was attempted.
        toUnit - The unit to which a conversion was attempted.