This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes Ruby and the fly likes Ruby in Practice - Exception Handling Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Languages » Ruby
Bookmark "Ruby in Practice - Exception Handling" Watch "Ruby in Practice - Exception Handling" New topic

Ruby in Practice - Exception Handling

Mourouganandame Arunachalam
Ranch Hand

Joined: Oct 29, 2008
Posts: 396
Hi Authors,

How the exception handling in Ruby designed when compare to Java?


Open Source leads to Open Mind
Assaf Arkin

Joined: Feb 09, 2009
Posts: 16
Very similar. The main difference is that you use raise/rescue/ensure instead of throw/catch/finally. (The catch keyword is reserved for something else)
GeeCON Prague 2014
subject: Ruby in Practice - Exception Handling