class GlueMetastoreClientDelegate {

  public void dropFunction(String dbName, String functionName) throws NoSuchObjectException,
      InvalidObjectException, org.apache.hadoop.hive.metastore.api.InvalidInputException, TException {
    try {
      glueMetastore.deleteUserDefinedFunction(dbName, functionName);
    } catch (AmazonServiceException e) {
      logger.error(e);
      throw CatalogToHiveConverter.wrapInHiveException(e);
    } catch (Exception e) {
      String msg = "Unable to drop Function: ";
      logger.error(msg, e);
      throw new MetaException(msg + e);
    }
  }

  public  GlueMetastoreClientDelegate(HiveConf conf, AWSGlueMetastore glueMetastore,
                                     Warehouse wh);

}