Update HashTable.java

Correct exception declaration