Extracted exception strategy resolver to a separate class