Wrapping the whole code in a Try block is not exactly a good idea also.