[OptionsResolver] replaced some exception messages