Package ucar.units

Class DivideException

    • Constructor Detail

      • DivideException

        public DivideException​(Unit unit)
        Constructs from a unit that can't be divided.
        Parameters:
        unit - The unit that can't be divided.
      • DivideException

        public DivideException​(Unit numerator,
                               Unit denominator)
        Constructs from dividend and divisor units.
        Parameters:
        numerator - The unit attempting to be divided.
        denominator - The unit attempting to divide.