rem: error ("Got Page\n"); if (!newPage)
add: error ("hashTable::hashTable - Got Page %x\n",newPage); if (!newPage) { error ("Out of pages to allocate a pool! newPage = %x\n",newPage);
context: 	hashTable(int size) {		nodeCount=0;		numRocks=size;				error ("Starting to initalize hash table\n");		if (size*sizeof (list *)>PAGE_SIZE)			throw ("Hash table too big!"); 		error ("Getting Page\n");		page *newPage=vmBlock->pageMan->getPage();		error ("Got Page\n");		if (!newPage)			throw ("Out of pages to allocate a pool!");		rocks=(list **)(newPage->getAddress());		error ("Got rocks\n");		int listsPerPage=PAGE_SIZE/sizeof(list);		int pages=(size+(listsPerPage-1))/listsPerPage;		for (int pageCount=0;pageCount<pages;pageCount++)			{			page *newPage=vmBlock->pageMan->getPage();			if (!newPage)				throw ("Out of pages to allocate a pool!");			for (int i=0;i<listsPerPage;i++)				rocks[i]=new ((list *)(newPage->getAddress()+(i*sizeof(list)))) list;				}		} 