File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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)
I agree. Here's the link:
subject: Ruby in Practice - Exception Handling
jQuery in Action, 3rd edition