On 2/19/12 6:35 AM, deadalnix wrote:
Le 19/02/2012 09:02, Andrei Alexandrescu a écrit :
I'm thinking an error is transient if retrying the operation with the
same exact data may succeed. That's a definition that's simple,
useful, and easy to operate with.
[...]
But if that's the case, what's the use of an exception at all?
Centralization.
Andrei
Please stop answering like that. From the begining of this topic
Jonathan M Davis, H. S. Teah (and myself ?) raised very valid points.
What do you expect from that discussion if yourself you do not put any
arguement on the table ?
The answer is meaningful. The purpose of exceptions is allowing for
centralized error handling, and a capabilities-based system makes that
simple (e.g. you get to make decisions about recoverability in one
place, regardless of which part of the exception hierarchy the exception
originated.
Andrei