ucar.units
Class NoSuchUnitException
java.lang.Object
java.lang.Throwable
java.lang.Exception
ucar.units.UnitException
ucar.units.SpecificationException
ucar.units.NoSuchUnitException
- All Implemented Interfaces:
- Serializable
public class NoSuchUnitException
- extends SpecificationException
Provides support for failure to find a unit.
- Version:
- $Id: NoSuchUnitException.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 |
NoSuchUnitException
public NoSuchUnitException(UnitID id)
- Constructs from a unit identifier.
- Parameters:
id
- The identifier of the unit that couldn't be found.
NoSuchUnitException
public NoSuchUnitException(String id)
- Constructs from a unit identifier.
- Parameters:
id
- The identifier of the unit that couldn't be found.
Copyright © 1999-2011 UCAR/Unidata. All Rights Reserved.