Package ucar.units

Class MultiplyException

    • Constructor Detail

      • MultiplyException

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

        public MultiplyException​(Unit A,
                                 Unit B)
        Constructs from two units.
        Parameters:
        A - A unit attempting to be multiplied.
        B - The other unit attempting to be multiplied.
      • MultiplyException

        public MultiplyException​(double scale,
                                 Unit unit)
        Constructs from a scale factor and a unit.
        Parameters:
        scale - The scale factor.
        unit - The unit.