c# try catch without throw