public Table getTable(final String dbName, final String tableName, boolean throwException) throws HiveException {
    return this.getTable(dbName, tableName, null, throwException);
  }
Returns metadata of the table

@param dbName
         the name of the database
@param tableName
         the name of the table
@param throwException
         controls whether an exception is thrown or a returns a null
@return the table or if throwException is false a null value.
@throws HiveException
ql/src/java/org/apache/hadoop/hive/ql/metadata/Hive.java