[OptionsResolver] add missing exception based on OutOfBoundsException and clarify message