Package ucar.units
Class ConversionException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- ucar.units.UnitException
-
- ucar.units.ConversionException
-
- All Implemented Interfaces:
Serializable
public final class ConversionException extends UnitException implements Serializable
Provides support for unit conversion exceptions.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description 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
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-