public final class DivideException extends OperationException
Constructor and Description |
---|
DivideException(Unit unit)
Constructs from a unit that can't be divided.
|
DivideException(Unit numerator,
Unit denominator)
Constructs from dividend and divisor units.
|
public DivideException(Unit unit)
unit
- The unit that can't be divided.