C-sharp : Error handling: generic exception