The Artima Developer Community
Sponsored Link

Agile Buzz Forum
over aggressive error handling

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
over aggressive error handling Posted: Oct 21, 2003 1:10 AM
Reply to this message Reply

This post originated from an RSS feed registered with Agile Buzz by James Robertson.
Original Post: over aggressive error handling
Feed Title: Cincom Smalltalk Blog - Smalltalk with Rants
Feed URL: http://www.cincomsmalltalk.com/rssBlog/rssBlogView.xml
Feed Description: James Robertson comments on Cincom Smalltalk, the Smalltalk development community, and IT trends and issues in general.
Latest Agile Buzz Posts
Latest Agile Buzz Posts by James Robertson
Latest Posts From Cincom Smalltalk Blog - Smalltalk with Rants

Advertisement
Sometimes, you can handle too many exceptions. I was having trouble with syndic8 RSS queries in BottomFeeder. I was getting "100 Continue" messages back from the Cincom proxy server, and no results from syndic8 (as the query hadn't gone there yet). Well, it turned out that the fault was mine. I was catching HttpException (superclass of HttpInformationalException). It turns out that I shouldn't do that - the VW Http framework already knows what to do with a 100 message, and does the right thing. So by simply not catching the exception, my queries to syndic8 work behind the proxy server now.

Read: over aggressive error handling

Topic: Pieceware? Previous Topic   Next Topic Topic: WiFi on the train?

Sponsored Links



Google
  Web Artima.com   

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