Btw the catch(Exception ex) will throw up in code analysis.