Class HashIndexInvalid

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--HashIndexInvalid
All Implemented Interfaces:
java.io.Serializable

public class HashIndexInvalid
extends java.lang.Exception

Class HashIndexInvalid is an exception that is thrown by HashTable.enter if the return value of HashTableEntry.hash is out of the table range of 0 to tableSize-1.

See Also:
Serialized Form

Field Summary
 int index
          The invalid index value
 
Constructor Summary
HashIndexInvalid(int index)
          Initializing constructor.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

index

public int index
The invalid index value
Constructor Detail

HashIndexInvalid

public HashIndexInvalid(int index)
Initializing constructor.