|
||||||||||
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.MultiplyException
public final class MultiplyException
Provides support for unit multiplication failures.
Constructor Summary | |
---|---|
MultiplyException(double scale,
Unit unit)
Constructs from a scale factor and a unit. |
|
MultiplyException(Unit unit)
Constructs from a unit that can't be multiplied. |
|
MultiplyException(Unit A,
Unit B)
Constructs from two 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 MultiplyException(Unit unit)
unit
- The unit that can't be multiplied.public MultiplyException(Unit A, Unit B)
A
- A unit attempting to be multiplied.B
- The other unit attempting to be multiplied.public MultiplyException(double scale, Unit unit)
scale
- The scale factor.unit
- The unit.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |