public void dropCatalog(String catName, boolean ignoreUnknownCat)
      throws HiveException, NoSuchObjectException {
    try {
      getMSC().dropCatalog(catName);
    } catch (NoSuchObjectException e) {
      if (!ignoreUnknownCat) {
        throw e;
      }
    } catch (Exception e) {
      throw new HiveException(e);
    }
  }
Drop a catalog.
@param catName
@param ignoreUnknownCat if true, will ignore NoSuchObjectException.
@throws HiveException
@throws NoSuchObjectException
ql/src/java/org/apache/hadoop/hive/ql/metadata/Hive.java