[Bug 16608] Algorithms should rethrow the exception

https://www.w3.org/Bugs/Public/show_bug.cgi?id=16608

Glenn Maynard <glenn@zewt.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|CLOSED                      |REOPENED
                 CC|                            |glenn@zewt.org
         Resolution|FIXED                       |

--- Comment #2 from Glenn Maynard <glenn@zewt.org> 2012-04-03 13:08:37 UTC ---
I strongly disagree with this approach.

Specifications should explicitly catch and rethrow exceptions, so it's clear
where the possible exit points in an algorithm are, what exceptions they may
throw, and so overlooked exceptions at any point are strictly a bug.  If you
can't keep track of what exceptions might be thrown underneath your algorithm,
the people calling your algorithm won't be able to, either.

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

Received on Tuesday, 3 April 2012 13:08:49 UTC