A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Murach's Java Servlets and JSP
this week in the
Ruby in Practice - Exception Handling
Joined: Oct 29, 2008
Feb 26, 2009 06:01:24
How the exception handling in Ruby designed when compare to Java?
Open Source leads to Open Mind
Joined: Feb 09, 2009
Feb 28, 2009 13:35:37
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)
It is sorta covered in the
JavaRanch Style Guide
subject: Ruby in Practice - Exception Handling
Java.comm API: WaitCommEvent: Error 5
please tell me.......................
XTreme Programming Revelation: Could I make it all MUCH simpler?
java [question -- exception handling]
is there EJB3 Exception handling framework?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014