Exception Handling Wisdom

If you write Java programs, you may often have to make decisions about exception handling. After reading this post on “The Daily WTF”, I don’t think I’ll ever think of exception handling in the same way again…

There was, however, some wisdom to spring forth from it. From Yoda, in fact. What does Yoda have to teach us about exceptions?

Do, or do not. There is no try {}…

Of course, some people would counter that by saying there is a catch {} to everything, but still…

I’ll get me coat!


Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

Related posts

Get new posts by email