|
||||||||||
| 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.ConversionException
public final class ConversionException
Provides support for unit conversion exceptions.
| Constructor Summary | |
|---|---|
ConversionException()
Constructs from nothing. |
|
ConversionException(Unit fromUnit,
Unit toUnit)
Constructs from a "from" unit and and "to" unit. |
|
| 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 ConversionException()
public ConversionException(Unit fromUnit,
Unit toUnit)
fromUnit - The unit from which a conversion was attempted.toUnit - The unit to which a conversion was attempted.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||