refactored find_exception_clause to build tuple

* avoid gigantic case expression.