Package ucar.units
Class DivideException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- ucar.units.UnitException
-
- ucar.units.OperationException
-
- ucar.units.DivideException
-
- All Implemented Interfaces:
Serializable
public final class DivideException extends OperationException
Provides support for unit division failures.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DivideException(Unit unit)
Constructs from a unit that can't be divided.DivideException(Unit numerator, Unit denominator)
Constructs from dividend and divisor units.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
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.
-
-