Added top-level try/catch block
top-level catch by reference