public class UnitExistsException extends UnitDBException
Constructor and Description |
---|
UnitExistsException(String msg)
Constructs from an error message.
|
UnitExistsException(Unit oldUnit,
Unit newUnit)
Constructs from the existing unit and the redefining unit.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public UnitExistsException(Unit oldUnit, Unit newUnit)
oldUnit
- The previously existing unit in the database.newUnit
- The unit attempting the redefinition.public UnitExistsException(String msg)
msg
- The error message.Copyright © 1999–2014 UCAR/Unidata. All rights reserved.