Why exceptions for error handling is so important

Russel Winder via Digitalmars-d digitalmars-d at puremagic.com
Tue Jan 13 03:04:45 PST 2015


On Tue, 2015-01-13 at 06:50 +0000, Tobias Müller via Digitalmars-d wrote:
> 
[…]
> The problem with exceptions is, that the *callee* has to decide, not 
> the caller.

Callee always has the responsibility, it is just a question of whether 
or how callee may propagate the problem back up the chain.

-- 
Russel.
=============================================================================
Dr Russel Winder      t: +44 20 7585 2200   voip: sip:russel.winder at ekiga.net
41 Buckmaster Road    m: +44 7770 465 077   xmpp: russel at winder.org.uk
London SW11 1EN, UK   w: www.russel.org.uk  skype: russel_winder



More information about the Digitalmars-d mailing list