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.
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.