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.
- Version:
- $Id: ConversionException.java 64 2006-07-12 22:30:50Z edavis $
- Author:
- Steven R. Emmerson
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
ConversionException
public ConversionException()
- Constructs from nothing.
ConversionException
public ConversionException(Unit fromUnit,
Unit toUnit)
- Constructs from a "from" unit and and "to" unit.
- Parameters:
fromUnit
- The unit from which a conversion was attempted.toUnit
- The unit to which a conversion was attempted.
Copyright © 1999-2011 UCAR/Unidata. All Rights Reserved.