July 30, 2008
10:36 a.m.
Alexandre Bergel wrote:
While browsing at referencer of FileDoesNotExistException, I discovered the following pattern that is used in many different places. I find this pretty ugly:
I think the pattern is a result of me basically keeping the original method structure/pattern when rewriting the file creation code to use the Exception handling. So any clean-up/improvement is welcome :-) Michael