add exception to prevent wrong usage of the method _store_with_case_option