The Artima Developer Community
Sponsored Link

Agile Buzz Forum
Go directly to jail

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
James Robertson

Posts: 29924
Nickname: jarober61
Registered: Jun, 2003

David Buck, Smalltalker at large
Go directly to jail Posted: Nov 24, 2003 4:00 AM
Reply to this message Reply

This post originated from an RSS feed registered with Agile Buzz by James Robertson.
Original Post: Go directly to jail
Feed Title: David Buck - Blog
Feed URL: http://www.cincomsmalltalk.com/rssBlog/buck-rss.xml
Feed Description: Smalltalk can do that
Latest Agile Buzz Posts
Latest Agile Buzz Posts by James Robertson
Latest Posts From David Buck - Blog

Advertisement
Well, it seems that .NET has the same problem as Java does with exceptions. They are non-proceedable. In other words, by the time your exception handling code runs, the stack has already been unwound and you just have a post-mortem exception object to try to explain what happened.

In Smalltalk, your exception handling code is called from the context of the method that raised the exception. At that time, it can decide what kind of error has been encountered and whether it's possible to just provide another result and continue processing. This option isn't available in .NET.

James Robertson talked about proceedable exceptions this in his blog here and here.

Read: Go directly to jail

Topic: It only took 8 years Previous Topic   Next Topic Topic: BottomFeeder for VW 7.2

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use