Does wrapping everything in try/catch blocks constitute defensive programming?
My basic rule is : Unless you can fix the problem which caused the exception, do not catch it, let it bubble up to a level where it can be dealt with. In my experience, 95% of all catch blocks either just ignore the exception (catch {}) or merely log the error and rethrow the … Read more