more expressive error message

TreeIndex checks the class of the index member and throws an
IllegalStateException if it is not IntIntSortedMap. Now the Exception
contains the class name.