[MacRuby] #1209: NSException vs Exception

MacRuby ruby-noreply at macosforge.org
Sun Mar 27 08:54:06 PDT 2011

#1209: NSException vs Exception
 Reporter:  dmitry@…               |       Owner:  lsansonetti@…        
     Type:  defect                 |      Status:  new                  
 Priority:  major                  |   Milestone:                       
Component:  MacRuby                |    Keywords:                       
 NSArray.alloc.count raises ruby's RuntimeError which represents the objc's

 NSArray.alloc.size  raises uncachable objc's NSInvalidArgumentException

 screenshot - http://d.pr/soiL

 can i catch all obj-c exceptions and be sure that app will not crash?

Ticket URL: <http://www.macruby.org/trac/ticket/1209>
MacRuby <http://macruby.org/>

More information about the macruby-tickets mailing list