udunits/src/main/java/ucar/units/StandardUnitDB.java
private void aa(final String alias, final String name)
          throws UnitExistsException, NoSuchUnitException,
          UnitParseException, SpecificationException, UnitDBException,
          PrefixDBException, OperationException, NameException,
          UnitSystemException {
    aa(alias, name, null);
  }
private void aa(final String alias, final String name)
          throws UnitExistsException, NoSuchUnitException,
          UnitParseException, SpecificationException, UnitDBException,
          PrefixDBException, OperationException, NameException,
          UnitSystemException {
    aa(alias, name, null);
  }
private void aa ( final String alias , final String name ) throws UnitExistsException , NoSuchUnitException , UnitParseException , SpecificationException , UnitDBException , PrefixDBException , OperationException , NameException , UnitSystemException { aa ( alias , name , null ) ; }
Adds an alias for a unit to the database.

@param alias The alias for the unit.
@param name  The name of the unit.
@throws UnitExistsException    Attempt to redefine an existing unit.
@throws NameException          Bad unit name.
@throws UnitParseException     A string specification couldn't be parsed.
@throws SpecificationException Bad string specification.
@throws UnitDBException        Problem with the unit database.
@throws PrefixDBException      Problem with the prefix database.
@throws NameException          Bad unit name.
@throws OperationException     Improper unit operation.
@throws UnitSystemException    Problem with UnitSystem.
Adds an alias for a unit to the database .