Hi

1 view
Skip to first unread message

femto gary

unread,
Jul 25, 2007, 7:37:10 AM7/25/07
to xruby...@googlegroups.com
hi, just a ask, how do we implement exception,
try/catch now?

Xue Yong Zhi

unread,
Jul 25, 2007, 10:35:00 AM7/25/07
to xruby...@googlegroups.com
Basically we use java's exception handling. So throw an exception in
ruby(Kernel#raise) will do this:

throw new RubyException(...);

_________________________________________________________________
http://im.live.com/messenger/im/home/?source=hmtextlinkjuly07

Reply all
Reply to author
Forward
0 new messages