Refactoring Undifferentiated Exceptions
Some exception-handling code peels apart exceptions to figure out how to handle them. This is a missed opportunity for more direct code. The Simple Case: Type-Tested Exceptions Sometimes we see handler code like this: catch (Exception e) { // possible Continue reading Refactoring Undifferentiated Exceptions