ucar.units
Class PrefixExistsException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by ucar.units.UnitException
              extended by ucar.units.PrefixDBException
                  extended by ucar.units.PrefixExistsException
All Implemented Interfaces:
Serializable

public class PrefixExistsException
extends PrefixDBException

Provides support for prefix database failures.

Version:
$Id: PrefixExistsException.java 64 2006-07-12 22:30:50Z edavis $
Author:
Steven R. Emmerson
See Also:
Serialized Form

Constructor Summary
PrefixExistsException(Prefix oldPrefix, Prefix newPrefix)
          Constructs from an old prefix and a new prefix.
 
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

PrefixExistsException

public PrefixExistsException(Prefix oldPrefix,
                             Prefix newPrefix)
Constructs from an old prefix and a new prefix.

Parameters:
oldPrefix - The previously-existing prefix.
newPrefix - The replacement prefix.


Copyright © 1999-2011 UCAR/Unidata. All Rights Reserved.