|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
ucar.units.UnitException
ucar.units.OperationException
ucar.units.DivideException
public final class DivideException
Provides support for unit division failures.
| Constructor Summary | |
|---|---|
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 |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DivideException(Unit unit)
unit - The unit that can't be divided.
public DivideException(Unit numerator,
Unit denominator)
numerator - The unit attempting to be divided.denominator - The unit attempting to divide.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||