This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Well, if this subject doesn't make it clear, I have no idea what does My question is a small and simple one, but I have no idea what the solution is. Suppose you have the following 2 pieces of code:
and you have the other piece of code:
Then what's the difference? The only thing I can come up with it that in the former pierce of code, you can throw an Exception and still return the String, and in the latter you can't. However, I have no idea if this interpretation of mine is correct. Thanks for your help, Erik Pragt