de-couple option setting from exception handling