Removed code that should never run, and replaced it wil IllegalStateException.