Hi,

I am trying to improve the exception handling for the new blocks. The problem is that you don't see the exceptions thrown inside a called blockservlet. Apart from changing the BlockConnection to throw a CascadingIOException, the ResourceReader must throw any IOException caught in generate() (line 349). This is currently not done because it looks like there are cases, where a failed generate should be silently ignored. The debug message says "Received an IOException, assuming client severed connection on purpose".

Is this true? Or would it be no harm to throw the exception at that place to trigger the standard "Problem in creating the Request" page?


Alex

--
Alexander Klimetschek
http://www.mindquarry.com

Reply via email to