public class UnitExistsException extends UnitDBException
| Constructor and Description |
|---|
UnitExistsException(java.lang.String msg)
Constructs from an error message.
|
UnitExistsException(Unit oldUnit,
Unit newUnit)
Constructs from the existing unit and the redefining unit.
|
public UnitExistsException(Unit oldUnit, Unit newUnit)
oldUnit - The previously existing unit in the database.newUnit - The unit attempting the redefinition.public UnitExistsException(java.lang.String msg)
msg - The error message.