ucar.units
Class NoSuchUnitException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by ucar.units.UnitException
              extended by ucar.units.SpecificationException
                  extended by 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

Constructor Summary
NoSuchUnitException(String id)
          Constructs from a unit identifier.
NoSuchUnitException(UnitID id)
          Constructs from a unit identifier.
 
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

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.